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 | |
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
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | cut-n-paste/toolbar-editor/egg-editable-toolbar.c | 3 |
2 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,12 @@ 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. + +2007-07-29 Carlos Garcia Campos <carlosgc@gnome.org> + * cut-n-paste/totem-screensaver/totem-scrsaver.c: (screensaver_disable_x11): * shell/ev-metadata-manager.c: (ev_metadata_arm_timeout): 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) |