aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <poincare@ikezoe.net>2007-07-26 20:33:55 +0800
committerHiroyuki Ikezoe <hiikezoe@src.gnome.org>2007-07-26 20:33:55 +0800
commit98f9681d831902650761dc54255f728d995978f2 (patch)
treee4c10fb62c66b96ce4ad467af4199d5577e6c8b9
parent02da0c1be03c343f193cee73579b090a825df5e4 (diff)
downloadgsoc2013-evolution-98f9681d831902650761dc54255f728d995978f2.tar.gz
gsoc2013-evolution-98f9681d831902650761dc54255f728d995978f2.tar.zst
gsoc2013-evolution-98f9681d831902650761dc54255f728d995978f2.zip
Plugged memory leak.
2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net> * bf-junk-filter.c: (convert_unicode_cb): Plugged memory leak. svn path=/trunk/; revision=33850
-rw-r--r--plugins/bogo-junk-plugin/ChangeLog4
-rw-r--r--plugins/bogo-junk-plugin/bf-junk-filter.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/plugins/bogo-junk-plugin/ChangeLog b/plugins/bogo-junk-plugin/ChangeLog
index 939f397395..75930bd54e 100644
--- a/plugins/bogo-junk-plugin/ChangeLog
+++ b/plugins/bogo-junk-plugin/ChangeLog
@@ -1,3 +1,7 @@
+2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net>
+
+ * bf-junk-filter.c: (convert_unicode_cb): Plugged memory leak.
+
2007-06-03 Srinivasa Ragavan <sragavan@novell.com>
** Fix for version removal from Installed files from Gilles Dartiguelongue
diff --git a/plugins/bogo-junk-plugin/bf-junk-filter.c b/plugins/bogo-junk-plugin/bf-junk-filter.c
index f1ef6a53c5..1f7ab6bbbd 100644
--- a/plugins/bogo-junk-plugin/bf-junk-filter.c
+++ b/plugins/bogo-junk-plugin/bf-junk-filter.c
@@ -288,6 +288,8 @@ convert_unicode_cb (GtkWidget *widget, gpointer data)
GConfClient *gconf = gconf_client_get_default();
gconf_client_set_bool (gconf, data, active, NULL);
+
+ g_object_unref (gconf);
}
GtkWidget *