From 75edd1a5a13ad88659a641a3336c5a94d85b7f01 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 1 Jul 2008 09:23:35 +0000 Subject: ** Fix for bug #540972 2008-07-01 Milan Crha ** Fix for bug #540972 * e-plugin.c: (ep_load): Small memory leak fix. svn path=/trunk/; revision=35709 --- e-util/ChangeLog | 6 ++++++ e-util/e-plugin.c | 1 + 2 files changed, 7 insertions(+) diff --git a/e-util/ChangeLog b/e-util/ChangeLog index a6e4f80989..badb2df636 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,9 @@ +2008-07-01 Milan Crha + + ** Fix for bug #540972 + + * e-plugin.c: (ep_load): Small memory leak fix. + 2008-06-09 Milan Crha ** Fix for bug #509595 diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c index e55792c573..b22c59b5f9 100644 --- a/e-util/e-plugin.c +++ b/e-util/e-plugin.c @@ -474,6 +474,7 @@ ep_load(const char *filename, int load_level) ep->flags |= E_PLUGIN_FLAGS_SYSTEM_PLUGIN; else ep->flags &= ~E_PLUGIN_FLAGS_SYSTEM_PLUGIN; + g_free (is_system_plugin); pdoc->plugin_hooks = g_slist_prepend(pdoc->plugin_hooks, ep); cache |= (ep->hooks_pending != NULL); -- cgit v1.2.3