if (!SmimeDefaultKey)
{
mutt_error _("Can't sign: No key specified. Use Sign As.");
+ FREE (&intermediates);
return NULL;
}
if ((sfp = safe_fopen (filetosign, "w+")) == NULL)
{
mutt_perror (filetosign);
+ if (intermediates != SmimeDefaultKey)
+ FREE (&intermediates);
return NULL;
}
mutt_perror (signedfile);
safe_fclose (&sfp);
mutt_unlink (filetosign);
+ if (intermediates != SmimeDefaultKey)
+ FREE (&intermediates);
return NULL;
}
safe_fclose (&smimeout);
mutt_unlink (signedfile);
mutt_unlink (filetosign);
+ if (intermediates != SmimeDefaultKey)
+ FREE (&intermediates);
return NULL;
}
fputs (SmimePass, smimein);