[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: s_conn.c



  User: ahvezda 
  Date: 06/07/15 16:49:13

  Modified:    .        s_conn.c
  Log:
  Fix for glib slice crashing.  
  
  
  
  
  Revision  Changes    Path
  1.6       +5 -1      eda/geda/gaf/libgeda/src/s_conn.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: s_conn.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/src/s_conn.c,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- s_conn.c	15 Jul 2006 17:00:51 -0000	1.5
  +++ s_conn.c	15 Jul 2006 20:49:13 -0000	1.6
  @@ -124,7 +124,11 @@
   		   conn->x, conn->y);
   #endif
   
  -	    c_current->data = NULL;
  +	    /* Do not write modify c_current like this, since this will cause 
  +	    /* very nasty data corruption and upset glib's memory slice */
  +	    /* allocator. */
  +	    /* c_current->data = NULL;   Do not comment in */
  +
   	    g_free(conn);
   
   #if 0 /* this does not work right */
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs