aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-04-20 09:44:07 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-04-20 09:44:07 +0800
commit082a1d35db051530f5afb6d33c7fbaca1eff8fd1 (patch)
treec5cfd872c96ae4c6aaa6daf2efe19410d0fdf28b /widgets/table/e-tree.c
parentfadb6a35b6bbca31ccd2a45e2cc1de4a3a146cf4 (diff)
downloadgsoc2013-evolution-082a1d35db051530f5afb6d33c7fbaca1eff8fd1.tar
gsoc2013-evolution-082a1d35db051530f5afb6d33c7fbaca1eff8fd1.tar.gz
gsoc2013-evolution-082a1d35db051530f5afb6d33c7fbaca1eff8fd1.tar.bz2
gsoc2013-evolution-082a1d35db051530f5afb6d33c7fbaca1eff8fd1.tar.lz
gsoc2013-evolution-082a1d35db051530f5afb6d33c7fbaca1eff8fd1.tar.xz
gsoc2013-evolution-082a1d35db051530f5afb6d33c7fbaca1eff8fd1.tar.zst
gsoc2013-evolution-082a1d35db051530f5afb6d33c7fbaca1eff8fd1.zip
Free the priv->search_string and priv itself. More memory leak fixage.
2002-04-19 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'widgets/table/e-tree.c')
-rw-r--r--widgets/table/e-tree.c2
1 files changed, 2 insertions, 0 deletions
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;
}