From: Ralph Corderoy Date: Fri, 21 Oct 2016 23:18:32 +0000 (+0100) Subject: Replace `if (p) free(p)' with `mh_xfree(p)'. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/c57f93a88ffee4eb75b32bdc479e271f04e32b94?ds=sidebyside Replace `if (p) free(p)' with `mh_xfree(p)'. --- 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++)