aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--antispam-storage-1.1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/antispam-storage-1.1.c b/antispam-storage-1.1.c
index 31042d7..a273f88 100644
--- a/antispam-storage-1.1.c
+++ b/antispam-storage-1.1.c
@@ -404,11 +404,11 @@ antispam_mailbox_transaction_rollback(struct mailbox_transaction_context *ctx)
struct antispam_mailbox *asbox = ANTISPAM_CONTEXT(ctx->box);
struct antispam_internal_context *ast = ANTISPAM_CONTEXT(ctx);
- asbox->module_ctx.super.transaction_rollback(ctx);
-
if (ast->mail)
mail_free(&ast->mail);
+ asbox->module_ctx.super.transaction_rollback(ctx);
+
antispam_transaction_rollback(&ast->backendctx);
}