From 56c45fcfabb6a832d5e044fcde87e8ec3b25367b Mon Sep 17 00:00:00 2001 From: Chris Heath Date: Fri, 9 Jun 2006 02:21:03 +0000 Subject: Fix memory leak. Fixes bug #335423. 2006-06-09 Chris Heath * 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 --- e-util/ChangeLog | 5 +++++ e-util/e-plugin.c | 3 +++ 2 files changed, 8 insertions(+) (limited to 'e-util') 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 + + * e-plugin.c (ep_construct): Fix memory leak. + Fixes bug #335423. + 2006-06-08 Gary Coady * 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); -- cgit