From 376e8ae431ea3c23ff1940f66be6eb8f7ff2f1fe Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Sat, 22 Oct 2016 00:26:57 +0100 Subject: [PATCH] Replace `if (p) free(p)' with `mh_xfree(p)'. --- uip/mhn.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/uip/mhn.c b/uip/mhn.c index 45ed007c..a3f10305 100644 --- 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; -- 2.56.0