aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-07-01 17:23:35 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-07-01 17:23:35 +0800
commit75edd1a5a13ad88659a641a3336c5a94d85b7f01 (patch)
tree88c338e905a7c7b8e9d0a777eec3bcfb2489515e /e-util/e-plugin.c
parente6b2311a4f8fc18fbdb165a5b0b79ca1a8b53c2b (diff)
downloadgsoc2013-evolution-75edd1a5a13ad88659a641a3336c5a94d85b7f01.tar.gz
gsoc2013-evolution-75edd1a5a13ad88659a641a3336c5a94d85b7f01.tar.zst
gsoc2013-evolution-75edd1a5a13ad88659a641a3336c5a94d85b7f01.zip
** Fix for bug #540972
2008-07-01 Milan Crha <mcrha@redhat.com> ** Fix for bug #540972 * e-plugin.c: (ep_load): Small memory leak fix. svn path=/trunk/; revision=35709
Diffstat (limited to 'e-util/e-plugin.c')
-rw-r--r--e-util/e-plugin.c1
1 files changed, 1 insertions, 0 deletions
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);