From a121bb67bd1ace491bf0ccecb42c6092ba73e5f0 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Tue, 25 Jun 2019 12:16:24 +0000 Subject: [PATCH] * 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 --- server/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/main.c b/server/main.c index ac9e5dafd2..c445aef4f7 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, -- 2.40.0