aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-10-20 16:16:45 +0800
committerMilan Crha <mcrha@redhat.com>2011-10-20 16:16:45 +0800
commit31babe7961a6ef93419970a6d10c8843b671b466 (patch)
treed488d393207adb85aa5d9c8dcc83726df93f34ca /widgets/menus
parentfbce8fba0c29ccd40e8952600532c75d6a9df476 (diff)
downloadgsoc2013-evolution-31babe7961a6ef93419970a6d10c8843b671b466.tar.gz
gsoc2013-evolution-31babe7961a6ef93419970a6d10c8843b671b466.tar.zst
gsoc2013-evolution-31babe7961a6ef93419970a6d10c8843b671b466.zip
Bug #527614 - Valgrind shows a nice amount of lost memory
Diffstat (limited to 'widgets/menus')
-rw-r--r--widgets/menus/gal-view-etable.c1
1 files changed, 1 insertions, 0 deletions
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);