[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-397-g5ac7d32)
The branch, master has been updated
via 5ac7d324af0630fc8ad6f8692bcd80fe3d7b81d1 (commit)
from ba936e6bb6c321b7c9d433a8276d7cccd17c9889 (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/g_smob.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit 5ac7d324af0630fc8ad6f8692bcd80fe3d7b81d1
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Thu Dec 18 23:01:16 2008 +0000
libgeda: Fix memory leak in g_get_attrib_value_by_attrib_name()
:100644 100644 5b15ede... 2939c45... M libgeda/src/g_smob.c
=========
Changes
=========
commit 5ac7d324af0630fc8ad6f8692bcd80fe3d7b81d1
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Thu Dec 18 23:01:16 2008 +0000
libgeda: Fix memory leak in g_get_attrib_value_by_attrib_name()
diff --git a/libgeda/src/g_smob.c b/libgeda/src/g_smob.c
index 5b15ede..2939c45 100644
--- a/libgeda/src/g_smob.c
+++ b/libgeda/src/g_smob.c
@@ -579,6 +579,8 @@ SCM g_get_attrib_value_by_attrib_name(SCM object_smob, SCM scm_attrib_name)
o_attrib_get_name_value(a_current->text->string, &name, &value );
if (strcmp(name, attrib_name) == 0)
returned = scm_cons (scm_makfrom0str (value), returned);
+ g_free (name);
+ g_free (value);
}
a_iter = g_list_next (a_iter);
}
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs