[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-228-g67b4f6d)
The branch, master has been updated
via 67b4f6d41a25e4847f0f611512c1c44887a18d49 (commit)
from cfd3bf75707dc8d031deb58d6edea3936384b027 (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_text_basic.c | 3 +++
libgeda/src/s_clib.c | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
=================
Commit Messages
=================
commit 67b4f6d41a25e4847f0f611512c1c44887a18d49
Author: Werner Hoch <werner.ho@xxxxxx>
Date: Sat Oct 18 16:04:20 2008 +0200
libgeda: memory leak fixes in s_clib.c and o_text_basic.c
:100644 100644 406e6fd... b8190c5... M libgeda/src/o_text_basic.c
:100644 100644 b66dac7... 9dc9ff6... M libgeda/src/s_clib.c
=========
Changes
=========
commit 67b4f6d41a25e4847f0f611512c1c44887a18d49
Author: Werner Hoch <werner.ho@xxxxxx>
Date: Sat Oct 18 16:04:20 2008 +0200
libgeda: memory leak fixes in s_clib.c and o_text_basic.c
diff --git a/libgeda/src/o_text_basic.c b/libgeda/src/o_text_basic.c
index 406e6fd..b8190c5 100644
--- a/libgeda/src/o_text_basic.c
+++ b/libgeda/src/o_text_basic.c
@@ -75,6 +75,9 @@ static void update_disp_string(OBJECT *o)
}
break;
}
+ /* free the strings allocated by o_attrib_get_name_value */
+ g_free(name);
+ g_free(value);
} else {
text->disp_string = g_strdup (text->string);
}
diff --git a/libgeda/src/s_clib.c b/libgeda/src/s_clib.c
index b66dac7..9dc9ff6 100644
--- a/libgeda/src/s_clib.c
+++ b/libgeda/src/s_clib.c
@@ -290,6 +290,7 @@ static void free_symbol (gpointer data, gpointer user_data)
g_free (symbol->name);
symbol->name = NULL;
}
+ g_free(symbol);
}
}
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs