diff options
author | Joe Orton <jorton@apache.org> | 2020-02-18 09:27:43 +0100 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2020-02-18 09:27:43 +0100 |
commit | 29849173eac0d8a0f0db566a9d2318d746668b3b (patch) | |
tree | 049bdb07d47a45058c420c6cc2eb1da62ec9cdb7 /support/suexec.c | |
parent | convert malloc(3) into ap_malloc (diff) | |
download | apache2-29849173eac0d8a0f0db566a9d2318d746668b3b.tar.xz apache2-29849173eac0d8a0f0db566a9d2318d746668b3b.zip |
* support/suexec.c (clean_env): Revert use of ap_calloc in
r1874156 which broke the build.
https://travis-ci.org/apache/httpd/builds/651858409
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874158 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | support/suexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/suexec.c b/support/suexec.c index 1402f1297c..2ebacb9bee 100644 --- a/support/suexec.c +++ b/support/suexec.c @@ -239,7 +239,7 @@ static void clean_env(void) environ = &empty_ptr; /* VERY safe environment */ - if ((cleanenv = (char **) ap_calloc(AP_ENVBUF, sizeof(char *))) == NULL) { + if ((cleanenv = (char **) calloc(AP_ENVBUF, sizeof(char *))) == NULL) { log_err("failed to malloc memory for environment\n"); exit(123); } |