diff options
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 73ac39d608..0bac0259e0 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -634,7 +634,8 @@ message_list_destroy (GtkObject *object) if (message_list->idle_id != 0) g_source_remove(message_list->idle_id); - gtk_object_unref (GTK_OBJECT (message_list->folder)); + if (message_list->folder) + gtk_object_unref (GTK_OBJECT (message_list->folder)); GTK_OBJECT_CLASS (message_list_parent_class)->destroy (object); } |