From: Ralph Corderoy Date: Thu, 7 Sep 2017 09:03:25 +0000 (+0100) Subject: mhbuildsbr.c: Don't free(3) string then print it; do reverse. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/ed4e21fb32d214ed9c45d0bd4eac9d3dd8ee6c9d?ds=inline;hp=8c2d4ff84c4db1eb59d3a3fb007803f82c4906b9 mhbuildsbr.c: Don't free(3) string then print it; do reverse. Fixes c87ca5cca. --- diff --git a/uip/mhbuildsbr.c b/uip/mhbuildsbr.c index f22db992..7c0e7941 100644 --- a/uip/mhbuildsbr.c +++ b/uip/mhbuildsbr.c @@ -2237,9 +2237,9 @@ expand_pseudoheader (CT ct, CT *text_plain_ct, struct multipart *m, init_decoded_content (reply_ct, infile); if (extract_headers (reply_ct, reply_file, &reply_fp) == NOTOK) { - free (reply_file); inform("failed to extract headers from convert output in %s, " "continuing...", reply_file); + free(reply_file); return; }