From: Carlos Garcia Campos Date: Sun, 29 Jul 2007 16:36:00 +0000 (+0000) Subject: Fix memory leak. X-Git-Tag: EVINCE_0_9_3~6 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=322f098cf33173a47490ca5dd1091c8ca6bff74c;p=evince.git Fix memory leak. 2007-07-29 Carlos Garcia Campos * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: (egg_editable_toolbar_dispose): Fix memory leak. svn path=/trunk/; revision=2595 --- diff --git a/ChangeLog b/ChangeLog index 3cd135e7..a47de7c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-07-29 Carlos Garcia Campos + + * cut-n-paste/toolbar-editor/egg-editable-toolbar.c: + (egg_editable_toolbar_dispose): + + Fix memory leak. + 2007-07-29 Carlos Garcia Campos * cut-n-paste/totem-screensaver/totem-scrsaver.c: diff --git a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c index 4d15dff0..86ae386c 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)