aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index b340efdb41..5dc2a5fde2 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1343,7 +1343,8 @@ nuke_uids (GtkObject *o)
{
ETreeModel *etm = E_TREE_MODEL (o);
- e_tree_model_node_traverse (etm, etm->root, nuke_uids_cb, NULL);
+ if (etm->root)
+ e_tree_model_node_traverse (etm, etm->root, nuke_uids_cb, NULL);
}
static void