]> diplodocus.org Git - nmh/blobdiff - sbr/fmt_new.c
Replace `if (p) free(p)' with `mh_xfree(p)'.
[nmh] / sbr / fmt_new.c
index 078831a..18f4898 100644 (file)
@@ -30,8 +30,7 @@ new_fs (char *form, char *format, char *default_fs)
     struct stat st;
     FILE *fp;
 
-    if (formats)
-       free (formats);
+    mh_xfree(formats);
 
     if (form) {
        if ((fp = fopen (etcpath (form), "r")) == NULL)