]> diplodocus.org Git - nmh/blobdiff - uip/mhfixmsg.c
Replace GNUism with standard touch flag in test-scan-file.
[nmh] / uip / mhfixmsg.c
index 425801d50fbe55f2687dce6aa2a2019b857a0ebb..a820c638c98ea82a9486f9537b6216feac78d855 100644 (file)
@@ -551,6 +551,11 @@ main (int argc, char **argv)
                     (void) m_backup (file);
                 }
             }
+            if (outfp) {
+                /* close fp opened by the m_mktemp2() call in mhfixmsgsbr() */
+                fclose (outfp);
+                outfp = NULL;
+            }
         }
     } else {
         status = 1;