From dd57f485f9b237714510a89832eba9979b8dc964 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Wed, 6 Jun 2018 08:42:33 +0000 Subject: [PATCH] * modules/proxy/mod_proxy_hcheck.c (sctx_t, hc_create_config): Remove unused bucket allocator created off pconf. Tag the subpool. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1832991 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/mod_proxy_hcheck.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/proxy/mod_proxy_hcheck.c b/modules/proxy/mod_proxy_hcheck.c index 485fa74141..0265b4ab97 100644 --- a/modules/proxy/mod_proxy_hcheck.c +++ b/modules/proxy/mod_proxy_hcheck.c @@ -53,7 +53,6 @@ typedef struct { typedef struct { apr_pool_t *p; - apr_bucket_alloc_t *ba; apr_array_header_t *templates; apr_table_t *conditions; apr_hash_t *hcworkers; @@ -81,7 +80,7 @@ static void *hc_create_config(apr_pool_t *p, server_rec *s) sctx_t *ctx = apr_pcalloc(p, sizeof(sctx_t)); ctx->s = s; apr_pool_create(&ctx->p, p); - ctx->ba = apr_bucket_alloc_create(p); + apr_pool_tag(ctx->p, "proxy_hcheck"); ctx->templates = apr_array_make(p, 10, sizeof(hc_template_t)); ctx->conditions = apr_table_make(p, 10); ctx->hcworkers = apr_hash_make(p); -- 2.50.1