summaryrefslogtreecommitdiffstats
path: root/modules/aaa/mod_authz_host.c
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2014-01-15 18:42:39 +0100
committerJeff Trawick <trawick@apache.org>2014-01-15 18:42:39 +0100
commit379c6db4f38db767257ce85516e8d68951df5561 (patch)
treedfd4ef31eb52d8d298d57775eb44564d0b4f45f3 /modules/aaa/mod_authz_host.c
parentthe rewrite-ism is now handled separately. (diff)
downloadapache2-379c6db4f38db767257ce85516e8d68951df5561.tar.xz
apache2-379c6db4f38db767257ce85516e8d68951df5561.zip
follow-up to r1554161, r1554168, r1554170, r1554175, r1554188, and r1554195:
axe unnecessary initialization/pool allocation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1558483 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/aaa/mod_authz_host.c')
-rw-r--r--modules/aaa/mod_authz_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aaa/mod_authz_host.c b/modules/aaa/mod_authz_host.c
index f5f1a0ddbc..83fc6e6c71 100644
--- a/modules/aaa/mod_authz_host.c
+++ b/modules/aaa/mod_authz_host.c
@@ -228,7 +228,7 @@ static const char *host_parse_config(cmd_parms *cmd, const char *require_line,
const void **parsed_require_line)
{
const char *expr_err = NULL;
- ap_expr_info_t *expr = apr_pcalloc(cmd->pool, sizeof(*expr));
+ ap_expr_info_t *expr;
expr = ap_expr_parse_cmd(cmd, require_line, AP_EXPR_FLAG_STRING_RESULT,
&expr_err, NULL);