aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorChris Heath <chris@heathens.co.nz>2006-06-09 10:21:03 +0800
committerAndre Klapper <aklapper@src.gnome.org>2006-06-09 10:21:03 +0800
commit56c45fcfabb6a832d5e044fcde87e8ec3b25367b (patch)
tree4b187b43f4d0c02f7259e66258b1293b164d8262 /e-util
parent4602caf9bcec384ef8a7b430584b7ffc68aea327 (diff)
downloadgsoc2013-evolution-56c45fcfabb6a832d5e044fcde87e8ec3b25367b.tar.gz
gsoc2013-evolution-56c45fcfabb6a832d5e044fcde87e8ec3b25367b.tar.zst
gsoc2013-evolution-56c45fcfabb6a832d5e044fcde87e8ec3b25367b.zip
Fix memory leak. Fixes bug #335423.
2006-06-09 Chris Heath <chris@heathens.co.nz> * addressbook/gui/widgets/eab-popup-control.c (eab_popup_control_set_free_form): * addressbook/gui/contact-editor/e-contact-quick-add.c (quick_add_merge_contact): * e-util/e-plugin.c (ep_construct): * mail/message-list.c (message_list_finalise): * plugins/itip-view.c (itip_view_destroy): Fix memory leak. Fixes bug #335423. svn path=/trunk/; revision=32101
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-plugin.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 995c008a9b..0fbcf9df6b 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-09 Chris Heath <chris@heathens.co.nz>
+
+ * e-plugin.c (ep_construct): Fix memory leak.
+ Fixes bug #335423.
+
2006-06-08 Gary Coady <garycoady@ubuntu.com>
* e-i18n.h: Use the correct gettext domain for translations.
diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c
index 176b03a1ff..d565c498a0 100644
--- a/e-util/e-plugin.c
+++ b/e-util/e-plugin.c
@@ -188,6 +188,9 @@ ep_construct(EPlugin *ep, xmlNodePtr root)
oldclass = class;
l = NULL;
}
+ else {
+ g_free(class);
+ }
l = g_slist_prepend(l, ep);
g_hash_table_insert(ep_plugins_pending_hooks, oldclass, l);
ep->hooks_pending = g_slist_prepend(ep->hooks_pending, node);