diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2007-07-29 16:36:00 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-07-29 16:36:00 (GMT) |
commit | 322f098cf33173a47490ca5dd1091c8ca6bff74c (patch) | |
tree | 170839fb26e71354fbf6780acde593a7458cb1b1 /cut-n-paste/toolbar-editor | |
parent | 0de4e4076b4198674b6fa77c8281cd62a293f2fe (diff) |
Fix memory leak.
2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org>
* cut-n-paste/toolbar-editor/egg-editable-toolbar.c:
(egg_editable_toolbar_dispose):
Fix memory leak.
svn path=/trunk/; revision=2595
Diffstat (limited to 'cut-n-paste/toolbar-editor')
-rw-r--r-- | cut-n-paste/toolbar-editor/egg-editable-toolbar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c index 4d15dff..86ae386 100644 --- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c +++ b/cut-n-paste/toolbar-editor/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) |