mutt. Compose a new message, with an attachment. Turn on PGP
signing. Press C-G on the pass phrase prompt. Turn off PGP
signing. Try to send the message.
encode_descriptions (msg->content, 1);
+ /*
+ * Make sure that clear_content and free_clear_content are
+ * properly initialized -- we may visit this particular place in
+ * the code multiple times, including after a failed call to
+ * mutt_protect().
+ */
+
+ clear_content = NULL;
+ free_clear_content = 0;
+
if (WithCrypto)
{
if (msg->security)
{
msg->content = mutt_remove_multipart (msg->content);
- if (pgpkeylist)
- FREE (&pgpkeylist);
+ FREE (&pgpkeylist);
decode_descriptions (msg->content);
goto main_loop;