aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
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
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')
-rw-r--r--e-util/ChangeLog6
-rw-r--r--e-util/e-plugin.c1
2 files changed, 7 insertions, 0 deletions
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 <mcrha@redhat.com>
+
+ ** Fix for bug #540972
+
+ * e-plugin.c: (ep_load): Small memory leak fix.
+
2008-06-09 Milan Crha <mcrha@redhat.com>
** 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);