diff options
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index d556fc1514..a18ec3b42b 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -757,8 +757,8 @@ static void folder_changed(CamelFolder *f, int type, MessageList *message_list) { if (message_list->summary_table) - g_ptr_array_free(message_list->summary_table, TRUE); - message_list->summary_table = camel_folder_get_summary (message_list->folder, NULL); + camel_folder_free_summary(f, message_list->summary_table); + message_list->summary_table = camel_folder_get_summary (f, NULL); message_list_set_search(message_list, message_list->search); } |