X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8890670d4c1e8e3f9608c2850c1fe299fb256776..8a260e95d18fbaee659cd6ed662e97e0c10fcdf0:/uip/mhshow.c diff --git a/uip/mhshow.c b/uip/mhshow.c index 24052218..ce2dcaa2 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -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)