From: Brian Pane Date: Fri, 23 Nov 2001 11:07:51 +0000 (+0000) Subject: converted apr_pcalloc to apr_palloc for 15% reduction in run time of add_any_filter X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f81b8c96e77f918b883cfefcc8cff4a67390d8f0;p=apache 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 --- 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;