]> diplodocus.org Git - nmh/blobdiff - sbr/arglist.c
Create a central prototype for free_content().
[nmh] / sbr / arglist.c
index 8749a4b..aa143ee 100644 (file)
@@ -52,7 +52,7 @@ argsplit(char *command, char **file, int *argp)
        }
     }
 
-    argvarray = (char **) mh_xmalloc((sizeof(char **) * MAXARGS));
+    argvarray = (char **) mh_xmalloc((sizeof(char **) * (MAXARGS + 5)));
 
     /*
      * The simple case - no spaces or shell metacharacters