From 322f098cf33173a47490ca5dd1091c8ca6bff74c Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 29 Jul 2007 16:36:00 +0000 Subject: 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 --- (limited to 'cut-n-paste/toolbar-editor') 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) -- cgit v0.9.1