[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-218-g92f154a)
The branch, master has been updated
via 92f154a486073fe0a0b224469d7e17a680985283 (commit)
from 9c79c0782ad64813a6a302f185299403853d1386 (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
=========
libgeda/src/o_complex_basic.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit 92f154a486073fe0a0b224469d7e17a680985283
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Wed Oct 8 23:12:05 2008 +0100
Fix memory leak introduced in o_complex_get_promotable()
Need to free the GList of attributes returned from
o_complex_get_toplevel_attribs().
:100644 100644 47c4164... f157e8c... M libgeda/src/o_complex_basic.c
=========
Changes
=========
commit 92f154a486073fe0a0b224469d7e17a680985283
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Wed Oct 8 23:12:05 2008 +0100
Fix memory leak introduced in o_complex_get_promotable()
Need to free the GList of attributes returned from
o_complex_get_toplevel_attribs().
diff --git a/libgeda/src/o_complex_basic.c b/libgeda/src/o_complex_basic.c
index 47c4164..f157e8c 100644
--- a/libgeda/src/o_complex_basic.c
+++ b/libgeda/src/o_complex_basic.c
@@ -367,6 +367,8 @@ GList *o_complex_get_promotable (TOPLEVEL *toplevel, OBJECT *object, int detach)
promoted = g_list_prepend (promoted, tmp);
}
+ g_list_free (attribs);
+
promoted = g_list_reverse (promoted);
return promoted;
}
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs