From 082a1d35db051530f5afb6d33c7fbaca1eff8fd1 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 20 Apr 2002 01:44:07 +0000 Subject: Free the priv->search_string and priv itself. More memory leak fixage. 2002-04-19 Jeffrey Stedfast * e-table-search.c (e_table_search_destroy): Free the priv->search_string and priv itself. More memory leak fixage. * e-tree.c (e_tree_drag_source_unset): Unref site->taget_list so we don't leak memory. svn path=/trunk/; revision=16547 --- widgets/table/e-tree.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widgets/table/e-tree.c') diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c index f4000091e1..b3bc4da094 100644 --- a/widgets/table/e-tree.c +++ b/widgets/table/e-tree.c @@ -2347,6 +2347,8 @@ e_tree_drag_source_unset (ETree *tree) site = tree->priv->site; if (site) { + if (site->target_list) + gtk_target_list_unref (site->target_list); g_free (site); tree->priv->site = NULL; } -- cgit