From: Kevin McCarthy Date: Tue, 25 Dec 2018 00:22:07 +0000 (-0800) Subject: Free pgpkeylist if the send fails. X-Git-Tag: mutt-1-12-rel~163 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9366cd7f1a0883cdc9fab29f30aad08246f89417;p=mutt Free pgpkeylist if the send fails. --- diff --git a/send.c b/send.c index 16dad8d5..ccbc7e08 100644 --- a/send.c +++ b/send.c @@ -2040,6 +2040,7 @@ main_loop: msg->content = mutt_remove_multipart (msg->content); } + FREE (&pgpkeylist); mutt_free_envelope (&msg->content->mime_headers); /* protected headers */ msg->content = mutt_remove_multipart (msg->content); decode_descriptions (msg->content);