mirror of
https://github.com/apache/httpd.git
synced 2025-08-15 23:27:39 +00:00
There is no need to duplicate some memory here, the 'path' given to ap_parse_htaccess is never modified.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1719016 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -1016,8 +1016,7 @@ AP_DECLARE(int) ap_directory_walk(request_rec *r)
|
||||
|
||||
res = ap_parse_htaccess(&htaccess_conf, r, opts.override,
|
||||
opts.override_opts, opts.override_list,
|
||||
apr_pstrdup(r->pool, r->filename),
|
||||
sconf->access_name);
|
||||
r->filename, sconf->access_name);
|
||||
if (res) {
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user