From 0c39016124cbe7895093434351b83087438cc92a Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 3 Jul 2001 04:03:16 +0000 Subject: Only free the root here if it's non-NULL. 2001-07-02 Christopher James Lahey * e-tree-sorted.c (ets_destroy): Only free the root here if it's non-NULL. svn path=/trunk/; revision=10726 --- widgets/table/e-tree-sorted.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'widgets') 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), -- cgit