From c57f93a88ffee4eb75b32bdc479e271f04e32b94 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Sat, 22 Oct 2016 00:18:32 +0100 Subject: [PATCH] Replace `if (p) free(p)' with `mh_xfree(p)'. --- sbr/arglist.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sbr/arglist.c b/sbr/arglist.c index 68a26a20..e6f079e4 100644 --- a/sbr/arglist.c +++ b/sbr/arglist.c @@ -133,8 +133,7 @@ arglist_free(char *command, char **argvarray) { int i; - if (command != NULL) - free(command); + mh_xfree(command); if (argvarray != NULL) { for (i = 0; argvarray[i] != NULL; i++) -- 2.56.0