From 31babe7961a6ef93419970a6d10c8843b671b466 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 20 Oct 2011 10:16:45 +0200 Subject: Bug #527614 - Valgrind shows a nice amount of lost memory --- widgets/menus/gal-view-etable.c | 1 + 1 file changed, 1 insertion(+) (limited to 'widgets/menus') diff --git a/widgets/menus/gal-view-etable.c b/widgets/menus/gal-view-etable.c index c1fa5daf8b..a16c72bcc0 100644 --- a/widgets/menus/gal-view-etable.c +++ b/widgets/menus/gal-view-etable.c @@ -134,6 +134,7 @@ gal_view_etable_clone (GalView *view) new = g_object_new (GAL_TYPE_VIEW_ETABLE, NULL); new->spec = gve->spec; new->title = g_strdup (gve->title); + g_object_unref (new->state); new->state = e_table_state_duplicate (gve->state); g_object_ref (new->spec); -- cgit v1.2.3