aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}