aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index e4b5e111d4..c97144e1e0 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -334,9 +334,8 @@ fetch_mail_fetch(struct _mail_msg *mm)
/* if we are not to delete the messages, save the UID cache */
if (!fm->delete && !camel_exception_is_set (&mm->ex))
camel_uid_cache_save (cache);
-
- camel_uid_cache_destroy (cache);
}
+ camel_uid_cache_destroy (cache);
camel_folder_free_uids (folder, folder_uids);
} else {
filter_folder_filter (mm);