aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-07-03 12:03:16 +0800
committerChris Lahey <clahey@src.gnome.org>2001-07-03 12:03:16 +0800
commit0c39016124cbe7895093434351b83087438cc92a (patch)
treedbec13ab17f701d458a37c35c7140edbe4e09f85
parentae067f4ed99bf9ace5cbbdb2d36e1e13a6df9fa5 (diff)
downloadgsoc2013-evolution-0c39016124cbe7895093434351b83087438cc92a.tar
gsoc2013-evolution-0c39016124cbe7895093434351b83087438cc92a.tar.gz
gsoc2013-evolution-0c39016124cbe7895093434351b83087438cc92a.tar.bz2
gsoc2013-evolution-0c39016124cbe7895093434351b83087438cc92a.tar.lz
gsoc2013-evolution-0c39016124cbe7895093434351b83087438cc92a.tar.xz
gsoc2013-evolution-0c39016124cbe7895093434351b83087438cc92a.tar.zst
gsoc2013-evolution-0c39016124cbe7895093434351b83087438cc92a.zip
Only free the root here if it's non-NULL.
2001-07-02 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (ets_destroy): Only free the root here if it's non-NULL. svn path=/trunk/; revision=10726
-rw-r--r--widgets/table/e-tree-sorted.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/table/e-tree-sorted.c b/widgets/table/e-tree-sorted.c
index 5581aa6fe7..1e635865ae 100644
--- a/widgets/table/e-tree-sorted.c
+++ b/widgets/table/e-tree-sorted.c
@@ -542,7 +542,8 @@ ets_destroy (GtkObject *object)
/* FIXME lots of stuff to free here */
- free_path(priv->root);
+ if (priv->root)
+ free_path(priv->root);
if (priv->source) {
gtk_signal_disconnect (GTK_OBJECT (priv->source),