From 29849173eac0d8a0f0db566a9d2318d746668b3b Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Tue, 18 Feb 2020 08:27:43 +0000 Subject: * 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 --- support/suexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support') 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); } -- cgit v1.2.1