From: Stefan Fritsch Date: Fri, 22 Apr 2011 18:02:34 +0000 (+0000) Subject: avoid useless call to apr_pstrdup X-Git-Tag: 2.3.12~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23961debb8810014d8b7fb8c7da557d8d4529af5;p=apache avoid useless call to apr_pstrdup git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1095972 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_alias.c b/modules/mappers/mod_alias.c index 35c7ff3a95..dc40b67086 100644 --- a/modules/mappers/mod_alias.c +++ b/modules/mappers/mod_alias.c @@ -369,7 +369,7 @@ static char *try_alias_list(request_rec *r, apr_array_header_t *aliases, } else { /* need something non-null */ - found = apr_pstrdup(r->pool, ""); + found = ""; } } }