]> diplodocus.org Git - nmh/blobdiff - uip/scan.c
runpty.c: Replace fprintf()+exit() pairs with new die().
[nmh] / uip / scan.c
index c62be0f0425c63d165919e0515aef67176becb3b..c9cf4ce3f7be671b4d2ad02727af4f1678b95b02 100644 (file)
@@ -10,6 +10,7 @@
 #include <h/scansbr.h>
 #include <h/tws.h>
 #include <h/mts.h>
+#include "h/done.h"
 #include <h/utils.h>
 #include "sbr/m_maildir.h"
 #include "sbr/terminal.h"
@@ -221,7 +222,7 @@ main (int argc, char **argv)
            ivector_push_back (seqnum, seq_getnum (mp, *ap));
 
        num_unseen_seq = i;
-        mh_xfree(dp);
+        free(dp);
     }
 
     ontty = isatty (fileno (stdout));