From: Ralph Corderoy Date: Fri, 21 Oct 2016 22:17:48 +0000 (+0100) Subject: Replace `if (p) free(p)' with `mh_xfree(p)'. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/e9ecb46532df39b4429a086ae72c3bfa29c122ef?ds=inline Replace `if (p) free(p)' with `mh_xfree(p)'. --- diff --git a/uip/forwsbr.c b/uip/forwsbr.c index 928d9c3a..3943071b 100644 --- a/uip/forwsbr.c +++ b/uip/forwsbr.c @@ -19,7 +19,7 @@ */ static char msgbuf[256]; -#define COMPFREE(c) if (c->c_text) free(c->c_text) +#define COMPFREE(c) mh_xfree(c->c_text) /* * A list of components we treat as addresses