diff options
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/ChangeLog | 5 | ||||
-rw-r--r-- | e-util/e-plugin.c | 3 |
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); |