]> diplodocus.org Git - nmh/blobdiff - sbr/arglist.c
uip/sortm.c: Remove unused variable and dlocaltimenow() call.
[nmh] / sbr / arglist.c
index 68a26a2..328d9e9 100644 (file)
@@ -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++)