From f81b8c96e77f918b883cfefcc8cff4a67390d8f0 Mon Sep 17 00:00:00 2001 From: Brian Pane Date: Fri, 23 Nov 2001 11:07:51 +0000 Subject: [PATCH] converted apr_pcalloc to apr_palloc for 15% reduction in run time of add_any_filter git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92142 13f79535-47bb-0310-9956-ffa450edef68 --- server/util_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/util_filter.c b/server/util_filter.c index 2d38281fa0..8150c79e26 100644 --- a/server/util_filter.c +++ b/server/util_filter.c @@ -271,7 +271,7 @@ static ap_filter_t *add_any_filter(const char *name, void *ctx, if (node && node->frec) { apr_pool_t* p = r ? r->pool : c->pool; - ap_filter_t *f = apr_pcalloc(p, sizeof(*f)); + ap_filter_t *f = apr_palloc(p, sizeof(*f)); ap_filter_t **outf = r ? r_filters : c_filters; f->frec = node->frec; -- 2.50.1