aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-search.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-search.c')
-rw-r--r--widgets/table/e-table-search.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/widgets/table/e-table-search.c b/widgets/table/e-table-search.c
index ec27d9769e..b1fd6b3cba 100644
--- a/widgets/table/e-table-search.c
+++ b/widgets/table/e-table-search.c
@@ -107,6 +107,13 @@ add_timeout (ETableSearch *ets)
static void
e_table_search_destroy (GtkObject *object)
{
+ ETableSearch *ets = (ETableSearch *) object;
+
+ /* FIXME: do we need to unregister the timeout? bad things
+ might happen if a timeout is still active. */
+ g_free (ets->priv->search_string);
+ g_free (ets->priv);
+
if (e_table_search_parent_class->destroy)
(*e_table_search_parent_class->destroy)(object);
}