From 4e8baf18d2bcfde488826b8c679f900b659ac997 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Wed, 11 Jan 2017 16:00:37 +0000 Subject: [PATCH] Use pconf as parent pool so mutexes get cleaned on restarts/reloads git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1778319 13f79535-47bb-0310-9956-ffa450edef68 --- modules/core/mod_watchdog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/mod_watchdog.c b/modules/core/mod_watchdog.c index a5eb4bf04d0..0cab52e2fa6 100644 --- a/modules/core/mod_watchdog.c +++ b/modules/core/mod_watchdog.c @@ -436,7 +436,7 @@ static int wd_post_config_hook(apr_pool_t *pconf, apr_pool_t *plog, { apr_status_t rv; const char *pk = "watchdog_init_module_tag"; - apr_pool_t *pproc = s->process->pool; + apr_pool_t *pproc = pconf; const apr_array_header_t *wl; if (ap_state_query(AP_SQ_MAIN_STATE) == AP_SQ_MS_CREATE_PRE_CONFIG) -- 2.47.2