[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: branch: master updated (1.1.1.20070708-4-gcd7db80)
The branch, master has been updated
via cd7db8026b00934afc6acc1ff8f5467021194287 (commit)
from 9cc487143fe371181bc0fea41e94c03a54b776f9 (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_complex.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
=================
Commit Messages
=================
commit cd7db8026b00934afc6acc1ff8f5467021194287
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Sun Jun 24 04:21:39 2007 +0100
Fixed memory leak placing components.
When placing components we free'd the complex_place_list without removing
the objects it pointed to. The code now uses s_delete_object_glist(..)
rather than g_list_free(..) to free the complex_place list and its objects.
:100644 100644 af99459... d2ee71a... M gschem/src/o_complex.c
=========
Changes
=========
commit cd7db8026b00934afc6acc1ff8f5467021194287
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Sun Jun 24 04:21:39 2007 +0100
Fixed memory leak placing components.
When placing components we free'd the complex_place_list without removing
the objects it pointed to. The code now uses s_delete_object_glist(..)
rather than g_list_free(..) to free the complex_place list and its objects.
diff --git a/gschem/src/o_complex.c b/gschem/src/o_complex.c
index af99459..d2ee71a 100644
--- a/gschem/src/o_complex.c
+++ b/gschem/src/o_complex.c
@@ -431,7 +431,8 @@ void o_complex_end(TOPLEVEL *w_current, int screen_x, int screen_y)
/*! \todo redraw has to happen at the end of all this hack or
* maybe not? */
- g_list_free(w_current->page_current->complex_place_list);
+ s_delete_object_glist(w_current, w_current->page_current->
+ complex_place_list);
w_current->page_current->complex_place_list = NULL;
/* This doesn't allow anything else to be in the selection
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs