aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2002-12-04 07:09:17 +0800
committerHans Petter <hansp@src.gnome.org>2002-12-04 07:09:17 +0800
commit200071108fa97ea128657539bdcf86f64e1ac83b (patch)
tree985d50f0ed5a5f7cff941a3d77a8eadfb642a1ea /widgets/table
parent6e5686598a5aa843bb3d642168a7918fa60cc009 (diff)
downloadgsoc2013-evolution-200071108fa97ea128657539bdcf86f64e1ac83b.tar
gsoc2013-evolution-200071108fa97ea128657539bdcf86f64e1ac83b.tar.gz
gsoc2013-evolution-200071108fa97ea128657539bdcf86f64e1ac83b.tar.bz2
gsoc2013-evolution-200071108fa97ea128657539bdcf86f64e1ac83b.tar.lz
gsoc2013-evolution-200071108fa97ea128657539bdcf86f64e1ac83b.tar.xz
gsoc2013-evolution-200071108fa97ea128657539bdcf86f64e1ac83b.tar.zst
gsoc2013-evolution-200071108fa97ea128657539bdcf86f64e1ac83b.zip
Don't leak old sort info.
2002-12-03 Hans Petter Jansson <hpj@ximian.com> * e-table.c (e_table_get_state_object): Don't leak old sort info. 2002-12-03 Hans Petter Jansson <hpj@ximian.com> * gal/widgets/e-canvas-background.c (ecb_destroy): Don't leak private structure. svn path=/trunk/; revision=18999
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index ad8e10aa81..76c66ed074 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -1348,6 +1348,8 @@ e_table_get_state_object (ETable *e_table)
int i, j;
state = e_table_state_new();
+ if (state->sort_info)
+ g_object_unref (state->sort_info);
state->sort_info = e_table->sort_info;
g_object_ref(state->sort_info);