]> diplodocus.org Git - nmh/commitdiff
mhbuildsbr.c: Don't free(3) string then print it; do reverse.
authorRalph Corderoy <ralph@inputplus.co.uk>
Thu, 7 Sep 2017 09:03:25 +0000 (10:03 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Thu, 7 Sep 2017 09:03:25 +0000 (10:03 +0100)
Fixes c87ca5cca.

uip/mhbuildsbr.c

index f22db99234c12562a4107c7d25b7b487280f304c..7c0e79412f507c777a20b45616d0817c3a8407f6 100644 (file)
@@ -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;
     }