aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-09-07 03:01:52 +0800
committerDan Winship <danw@src.gnome.org>2000-09-07 03:01:52 +0800
commit165ba7b2ef911aac106d1be84aa331cd064b9708 (patch)
tree74bb99b6b1429d3d5b9cc1a75f6728a74abb4071
parent7d777d329b79bc9095c460b1c91d34ff7abefe48 (diff)
downloadgsoc2013-evolution-165ba7b2ef911aac106d1be84aa331cd064b9708.tar
gsoc2013-evolution-165ba7b2ef911aac106d1be84aa331cd064b9708.tar.gz
gsoc2013-evolution-165ba7b2ef911aac106d1be84aa331cd064b9708.tar.bz2
gsoc2013-evolution-165ba7b2ef911aac106d1be84aa331cd064b9708.tar.lz
gsoc2013-evolution-165ba7b2ef911aac106d1be84aa331cd064b9708.tar.xz
gsoc2013-evolution-165ba7b2ef911aac106d1be84aa331cd064b9708.tar.zst
gsoc2013-evolution-165ba7b2ef911aac106d1be84aa331cd064b9708.zip
set the data to NULL for the tree root, so nuke_uids won't try to free
* message-list.c (clear_tree): set the data to NULL for the tree root, so nuke_uids won't try to free anything. svn path=/trunk/; revision=5222
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/message-list.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 18834ef228..d9fc802c43 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-06 Dan Winship <danw@helixcode.com>
+
+ * message-list.c (clear_tree): set the data to NULL for the tree
+ root, so nuke_uids won't try to free anything.
+
2000-09-06 Ettore Perazzoli <ettore@helixcode.com>
* folder-browser.c (folder_browser_new): @shell made const.
diff --git a/mail/message-list.c b/mail/message-list.c
index 004163c0d5..6b4ce3de9b 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -805,7 +805,7 @@ clear_tree (MessageList *ml)
if (ml->tree_root)
e_tree_model_node_remove (etm, ml->tree_root);
ml->tree_root =
- e_tree_model_node_insert (etm, NULL, 0, ml);
+ e_tree_model_node_insert (etm, NULL, 0, NULL);
e_tree_model_node_set_expanded (etm, ml->tree_root, TRUE);
}