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

gEDA-cvs: CVS update: o_misc.c



  User: ahvezda 
  Date: 07/01/09 21:01:14

  Modified:    .        o_misc.c
  Log:
  Applied patch by Peter Clifton to prevent a crash when updating embedded
  
  components.
  
  
  
  
  Revision  Changes    Path
  1.41      +2 -2      eda/geda/gaf/gschem/src/o_misc.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: o_misc.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/o_misc.c,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -b -r1.40 -r1.41
  --- o_misc.c	9 Jan 2007 04:47:09 -0000	1.40
  +++ o_misc.c	10 Jan 2007 02:01:13 -0000	1.41
  @@ -1173,9 +1173,9 @@
     o_redraw_single (w_current, o_current);
   
     if (is_embedded) {
  -    /* we previously allocated memory for basename and clib */
  +    /* we previously allocated memory for basename */
       g_free (basename);
  -    g_free (clib);
  +    /* clib should not be freed here since it is owned by libgeda */
     }
       
     /* mark the page as modified */
  
  
  


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