]> diplodocus.org Git - nmh/blobdiff - uip/mhshow.c
tws.h: Remove zero-valued TW_SNIL macro, used once.
[nmh] / uip / mhshow.c
index 24052218795dde0d44ac8137cc4d2c4926136d6d..427b14ce59e0e479407fcc60f95306cd3cc4f93c 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * mhshow.c -- display the contents of MIME messages
+/* mhshow.c -- display the contents of MIME messages
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -237,8 +235,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 +452,7 @@ do_cache:
     for (ctp = cts; *ctp; ctp++)
        free_content (*ctp);
 
-    free ((char *) cts);
+    free(cts);
     cts = NULL;
 
     if (concatsw)