From d8b9c1f6f44191c4494c1344e290ac139bf8ef7e Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Sat, 22 Oct 2016 00:27:29 +0100 Subject: [PATCH] Replace `if (p) free(p)' with `mh_xfree(p)'. --- uip/mhstoresbr.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/uip/mhstoresbr.c b/uip/mhstoresbr.c index 7e91563f..930decad 100644 --- a/uip/mhstoresbr.c +++ b/uip/mhstoresbr.c @@ -1078,8 +1078,7 @@ get_storeproc (CT ct) free(cp); return; } - if (cp) - free(cp); + mh_xfree(cp); } /* @@ -1097,8 +1096,7 @@ get_storeproc (CT ct) ct->c_storeproc = add (cp, NULL); } - if (cp) - free(cp); + mh_xfree(cp); } -- 2.56.0