aboutsummaryrefslogtreecommitdiffstats
path: root/lib/egg/eggtoolbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/egg/eggtoolbar.c')
-rw-r--r--lib/egg/eggtoolbar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/egg/eggtoolbar.c b/lib/egg/eggtoolbar.c
index 547f0e33c..87e3fa592 100644
--- a/lib/egg/eggtoolbar.c
+++ b/lib/egg/eggtoolbar.c
@@ -494,10 +494,14 @@ static void
egg_toolbar_finalize (GObject *object)
{
EggToolbar *toolbar = EGG_TOOLBAR (object);
+ EggToolbarPrivate *priv;
if (toolbar->tooltips)
g_object_unref (GTK_OBJECT (toolbar->tooltips));
+ priv = g_object_get_data (object, PRIVATE_KEY);
+ g_free (priv);
+
G_OBJECT_CLASS (parent_class)->finalize (object);
}