]> granicus.if.org Git - mutt/commitdiff
Free pgpkeylist if the send fails.
authorKevin McCarthy <kevin@8t8.us>
Tue, 25 Dec 2018 00:22:07 +0000 (16:22 -0800)
committerKevin McCarthy <kevin@8t8.us>
Tue, 25 Dec 2018 21:52:03 +0000 (13:52 -0800)
send.c

diff --git a/send.c b/send.c
index 16dad8d59ebf454be195fa3ce63c07bbff3fda9f..ccbc7e08959a1ff18b39a0999d6be311367ef098 100644 (file)
--- 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);