Commit c4186329 authored by Joe Orton's avatar Joe Orton
Browse files

* 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
parent bee43f9c
Loading
Loading
Loading
Loading
+1 −2
Changes for modules/proxy/mod_proxy_hcheck.c: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -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);