diff options
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/imap/camel-imap-command.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/camel/providers/imap/camel-imap-command.c b/camel/providers/imap/camel-imap-command.c index ce6f60554d..8c5532c612 100644 --- a/camel/providers/imap/camel-imap-command.c +++ b/camel/providers/imap/camel-imap-command.c @@ -413,8 +413,12 @@ camel_imap_response_free (CamelImapStore *store, CamelImapResponse *response) if (response->folder) { if (exists > 0 || expunged) { /* Update the summary */ - camel_imap_folder_changed (response->folder, - exists, expunged, NULL); + CamelException ex; + + camel_exception_init (&ex); + camel_imap_folder_changed (response->folder, exists, expunged, &ex); + camel_exception_clear (&ex); + if (expunged) g_array_free (expunged, TRUE); } |