From 097dd9526e7ba44e607418ca215ac0dd94eaae3d Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Sat, 2 Mar 2019 15:28:10 +0000 Subject: [PATCH] defect 190853: Dereference after null check --- postpone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postpone.c b/postpone.c index e368d751a..188f0871d 100644 --- a/postpone.c +++ b/postpone.c @@ -178,7 +178,7 @@ int mutt_num_postponed(struct Mailbox *m, bool force) } else PostCount = ctx->mailbox->msg_count; - mx_fastclose_mailbox(ctx->mailbox); + mx_fastclose_mailbox(m_post); ctx_free(&ctx); #ifdef USE_NNTP if (optnews) -- 2.40.0