From: Paul Mangan Date: Sat, 15 Jan 2005 11:35:50 +0000 (+0000) Subject: 2005-01-15 [paul] 0.9.13cvs35 X-Git-Tag: rel_1_0_0~10 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=95d49340e25fbe13af018af70081822421e688c7 2005-01-15 [paul] 0.9.13cvs35 * src/gtk/pluginwindow.c fix 2 memleaks, patch by Alfons --- diff --git a/ChangeLog.claws b/ChangeLog.claws index af3f6fab4..f8060bf30 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,8 @@ +2005-01-15 [paul] 0.9.13cvs35 + + * src/gtk/pluginwindow.c + fix 2 memleaks, patch by Alfons + 2005-01-15 [paul] 0.9.13cvs34 * ChangeLog diff --git a/PATCHSETS b/PATCHSETS index af7f1e919..3c874f73c 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -204,3 +204,4 @@ ( cvs diff -u -r 1.29 -r 1.30 src/msgcache.c; cvs diff -u -r 1.14 -r 1.15 src/html.c; cvs diff -u -r 1.3 -r 1.4 src/html.h; cvs diff -u -r 1.126 -r 1.127 AUTHORS; ) > 0.9.13cvs32.patchset ( cvs diff -u -r 1.15 -r 1.16 src/html.c; cvs diff -u -r 1.30 -r 1.31 src/msgcache.c; ) > 0.9.13cvs33.patchset ( cvs diff -u -r 1.454 -r 1.455 ChangeLog; cvs diff -u -r 1.449 -r 1.450 ChangeLog.jp; cvs diff -u -r 1.2 -r 1.3 src/common/template.c; ) > 0.9.13cvs34.patchset +( cvs diff -u -r 1.10 -r 1.11 src/gtk/pluginwindow.c; ) > 0.9.13cvs35.patchset diff --git a/configure.ac b/configure.ac index 1f131419b..8200747cb 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=9 MICRO_VERSION=13 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=34 +EXTRA_VERSION=35 EXTRA_RELEASE= if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then diff --git a/src/gtk/pluginwindow.c b/src/gtk/pluginwindow.c index 2335873a2..582fc0707 100644 --- a/src/gtk/pluginwindow.c +++ b/src/gtk/pluginwindow.c @@ -75,6 +75,7 @@ static void set_plugin_list(PluginWindow *pluginwindow) if (pluginwindow->selected_plugin == NULL) gtk_clist_select_row (clist, 0, -1); + g_slist_free(plugins); } static void select_row_cb(GtkCList *clist, gint row, gint column, @@ -128,7 +129,8 @@ static void load_cb(GtkButton *button, PluginWindow *pluginwindow) g_free(error); } - set_plugin_list(pluginwindow); + set_plugin_list(pluginwindow); + g_free(file); } static gboolean pluginwindow_key_pressed(GtkWidget *widget, GdkEventKey *event,