X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c8773dc680d5ec95ad5f862d44ce15124c95146a..07731a50fda3a25927b60c48a41be2e5b747ca01:/sbr/arglist.c diff --git a/sbr/arglist.c b/sbr/arglist.c index 68a26a20..328d9e9c 100644 --- a/sbr/arglist.c +++ b/sbr/arglist.c @@ -1,6 +1,4 @@ - -/* - * arglist.c -- Routines for handling argument lists for execvp() and friends +/* arglist.c -- Routines for handling argument lists for execvp() and friends * * This code is Copyright (c) 2013, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for @@ -133,8 +131,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++)