aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2007-07-30 00:38:40 +0800
committerCarlos Garcia Campos <carlosgc@src.gnome.org>2007-07-30 00:38:40 +0800
commit0fe0543f49d24020f3e3151bb8c56ed6b44bc5ba (patch)
treedab034498502ed6bfda1f4acb3b1176a75e8ffb1 /lib
parent4ecbab9acdfe0e618d280da50e38bf33a6392e53 (diff)
downloadgsoc2013-epiphany-0fe0543f49d24020f3e3151bb8c56ed6b44bc5ba.tar
gsoc2013-epiphany-0fe0543f49d24020f3e3151bb8c56ed6b44bc5ba.tar.gz
gsoc2013-epiphany-0fe0543f49d24020f3e3151bb8c56ed6b44bc5ba.tar.bz2
gsoc2013-epiphany-0fe0543f49d24020f3e3151bb8c56ed6b44bc5ba.tar.lz
gsoc2013-epiphany-0fe0543f49d24020f3e3151bb8c56ed6b44bc5ba.tar.xz
gsoc2013-epiphany-0fe0543f49d24020f3e3151bb8c56ed6b44bc5ba.tar.zst
gsoc2013-epiphany-0fe0543f49d24020f3e3151bb8c56ed6b44bc5ba.zip
Fix memory leak.
2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org> * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_dispose): Fix memory leak. svn path=/trunk/; revision=7212
Diffstat (limited to 'lib')
-rw-r--r--lib/egg/egg-editable-toolbar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/egg/egg-editable-toolbar.c b/lib/egg/egg-editable-toolbar.c
index 4d15dff07..86ae386ce 100644
--- a/lib/egg/egg-editable-toolbar.c
+++ b/lib/egg/egg-editable-toolbar.c
@@ -1364,6 +1364,9 @@ egg_editable_toolbar_dispose (GObject *object)
priv->visibility_paths = NULL;
}
+ g_free (priv->popup_path);
+ priv->popup_path = NULL;
+
if (priv->manager != NULL)
{
if (priv->visibility_id)