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

gEDA-cvs: gaf.git: branch: master updated (1.6.1-20100214-131-g0768fc3)



The branch, master has been updated
       via  0768fc34916818904623a914780fe583a8bcf186 (commit)
      from  7de00720bc4ca441deca49bdee6597c3f8ca1331 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gschem/src/o_misc.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


=================
 Commit Messages
=================

commit 0768fc34916818904623a914780fe583a8bcf186
Author: Robert Drehmel <rdrehmel@xxxxxxxxxxxxxxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    gschem: Fix memory corruption in o_update_component()
    
    s_page_append_list() consumes the GList passed, which must not
    be g_list_free'd afterwards.

:100644 100644 eb347aa... 08c3fb3... M	gschem/src/o_misc.c

=========
 Changes
=========

commit 0768fc34916818904623a914780fe583a8bcf186
Author: Robert Drehmel <rdrehmel@xxxxxxxxxxxxxxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    gschem: Fix memory corruption in o_update_component()
    
    s_page_append_list() consumes the GList passed, which must not
    be g_list_free'd afterwards.

diff --git a/gschem/src/o_misc.c b/gschem/src/o_misc.c
index eb347aa..08c3fb3 100644
--- a/gschem/src/o_misc.c
+++ b/gschem/src/o_misc.c
@@ -722,7 +722,6 @@ o_update_component (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current)
 
   /* Add new attributes to page */
   s_page_append_list (toplevel, page, new_attribs);
-  g_list_free (new_attribs);
 
   /* Update pinnumbers for current slot */
   s_slot_update_object (toplevel, o_new);




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