]> www.fi.muni.cz Git - evince.git/commitdiff
Fix memory leak.
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 29 Jul 2007 16:36:00 +0000 (16:36 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Sun, 29 Jul 2007 16:36:00 +0000 (16:36 +0000)
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

ChangeLog
cut-n-paste/toolbar-editor/egg-editable-toolbar.c

index 3cd135e74b19fc79aa1d5bd9e8e7fc64d7650b82..a47de7c06263abe0db96e7951919598978a92757 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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:
index 4d15dff0713e96307ec021a210a67566dd450f8a..86ae386ce4431aae48760aad12e643c8c8e08cb4 100644 (file)
@@ -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)