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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 7e6fe30269..7c5f0332d7 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -1756,10 +1756,10 @@ empty_trash_exec (struct _empty_trash_msg *m)
g_free (uri);
}
- if (trash)
+ if (trash) {
camel_folder_expunge (trash, &m->base.ex);
-
- camel_object_unref (trash);
+ camel_object_unref (trash);
+ }
}
static void