]> diplodocus.org Git - nmh/blobdiff - uip/mhshow.c
showbuildenv: Add comment describing exit-status convention.
[nmh] / uip / mhshow.c
index 24052218795dde0d44ac8137cc4d2c4926136d6d..ce2dcaa23b33ec2bf212905e7ed4a9dc8b3fa712 100644 (file)
@@ -237,8 +237,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;
 
@@ -455,7 +454,7 @@ do_cache:
     for (ctp = cts; *ctp; ctp++)
        free_content (*ctp);
 
-    free ((char *) cts);
+    free(cts);
     cts = NULL;
 
     if (concatsw)