From: Joe Orton Date: Tue, 25 Jun 2019 12:16:24 +0000 (+0000) Subject: * server/main.c (main): Don't create a separate subpool for pcommands X-Git-Tag: 2.5.0-alpha2-ci-test-only~2000 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a121bb67bd1ace491bf0ccecb42c6092ba73e5f0;p=thirdparty%2Fapache%2Fhttpd.git * server/main.c (main): Don't create a separate subpool for pcommands (it had an identical lifetime to the global pool). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1862055 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/main.c b/server/main.c index ac9e5dafd2c..c445aef4f7e 100644 --- a/server/main.c +++ b/server/main.c @@ -527,8 +527,7 @@ static void usage(process_rec *process) } #endif - apr_pool_create(&pcommands, ap_pglobal); - apr_pool_tag(pcommands, "pcommands"); + pcommands = ap_pglobal; ap_server_pre_read_config = apr_array_make(pcommands, 1, sizeof(const char *)); ap_server_post_read_config = apr_array_make(pcommands, 1,