]> diplodocus.org Git - nmh/blobdiff - uip/mhn.c
Alter HasSuffixC()'s char * to be const.
[nmh] / uip / mhn.c
index 45ed007c922a41198f31675161d58b229402645d..a3f10305b74d9e1367b2c97503e94a3ab809d15d 100644 (file)
--- a/uip/mhn.c
+++ b/uip/mhn.c
@@ -277,8 +277,7 @@ do_cache:
            case FORMSW:
                if (!(cp = *argp++) || *cp == '-')
                    adios (NULL, "missing argument to %s", argp[-2]);
-               if (formsw)
-                   free (formsw);
+                mh_xfree(formsw);
                formsw = getcpy (etcpath (cp));
                continue;