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

gEDA-cvs: CVS update: o_text_basic.nw



  User: ahvezda 
  Date: 05/03/14 07:10:32

  Modified:    .        o_text_basic.nw
  Log:
  Removed extra g_free which was corrupting the heap.
  
  
  
  
  Revision  Changes    Path
  1.24      +3 -2      eda/geda/devel/libgeda/noweb/o_text_basic.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: o_text_basic.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/libgeda/noweb/o_text_basic.nw,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -b -r1.23 -r1.24
  --- o_text_basic.nw	12 Mar 2005 18:44:02 -0000	1.23
  +++ o_text_basic.nw	14 Mar 2005 12:10:32 -0000	1.24
  @@ -1488,8 +1488,9 @@
       }
       /* do not use s_delete() as tmp is not fully initialized */
       g_free (tmp->name);
  -    g_free (tmp);
       
  +    /* Do not free tmp here since it will be freed with the function */
  +    /* that was specified when the hash table was created. */
     }
   
     return TRUE;