diff options
-rw-r--r-- | e-util/ChangeLog | 6 | ||||
-rw-r--r-- | e-util/e-plugin.c | 1 |
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); |