You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@hyperreal.org on 1999/05/07 20:17:51 UTC
cvs commit: apache-apr/apr/threadproc/unix proc.c
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;