rbb 99/05/07 11:17:50
Modified: apr/threadproc/unix proc.c Log: Just changing one malloc call to an apr_palloc call. Revision Changes Path 1.6 +1 -1 apache-apr/apr/threadproc/unix/proc.c Index: proc.c =================================================================== RCS file: /home/cvs/apache-apr/apr/threadproc/unix/proc.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- proc.c 1999/04/30 18:38:56 1.5 +++ proc.c 1999/05/07 18:17:49 1.6 @@ -183,7 +183,7 @@ while (args[i]) { i++; } - newargs = (char **)malloc(sizeof (char *) * (i + 3)); + newargs = (char **)apr_palloc(cont->pool, sizeof (char *) * (i + 3)); newargs[0] = strdup(SHELL_PATH); newargs[1] = strdup("-c"); i = 0;