diff -up mutt-1.10.1/smime.c.mutt-1.9.3-1_coverity_199_200_201 mutt-1.10.1/smime.c --- mutt-1.10.1/smime.c.mutt-1.9.3-1_coverity_199_200_201 2018-11-26 14:05:07.405126055 +0100 +++ mutt-1.10.1/smime.c 2018-11-26 14:05:23.436356595 +0100 @@ -1873,6 +1873,7 @@ static BODY *smime_handle_entity (BODY * fileno (smimeout), fileno (smimeerr), tmpfname)) == -1) { safe_fclose (&smimeout); smimeout = NULL; + safe_fclose (&smimeerr); mutt_unlink (tmpfname); if (s->flags & MUTT_DISPLAY) state_attach_puts (_("[-- Error: unable to create OpenSSL subprocess! --]\n"), s); @@ -1884,6 +1885,7 @@ static BODY *smime_handle_entity (BODY * tmpfname, SIGNOPAQUE)) == -1) { safe_fclose (&smimeout); smimeout = NULL; + safe_fclose (&smimeerr); mutt_unlink (tmpfname); if (s->flags & MUTT_DISPLAY) state_attach_puts (_("[-- Error: unable to create OpenSSL subprocess! --]\n"), s); @@ -1939,6 +1941,7 @@ static BODY *smime_handle_entity (BODY * { mutt_perror(tmptmpfname); safe_fclose (&smimeout); smimeout = NULL; + safe_fclose (&smimeerr); return NULL; } }