]> diplodocus.org Git - nmh/blobdiff - uip/mhfixmsg.c
utils.c: Improve comment describing add(). Suggest mh_xstrdup().
[nmh] / uip / mhfixmsg.c
index 6a7a048..486c7cc 100644 (file)
@@ -9,6 +9,7 @@
 #include <h/fmt_scan.h>
 #include <h/mime.h>
 #include <h/mhparse.h>
+#include "h/done.h"
 #include <h/utils.h>
 #include <h/signals.h>
 #include "sbr/m_maildir.h"
@@ -2292,6 +2293,7 @@ strip_crs (CT ct, int *message_mods) {
                     inform("unable to write temporary file %s, continuing...",
                               stripped_content_file);
                     (void) m_unlink (stripped_content_file);
+                    free(stripped_content_file);
                     status = NOTOK;
                 } else {
                     /* Replace the decoded file with the converted one. */