From: William A. Rowe Jr Date: Wed, 11 Aug 2004 21:59:48 +0000 (+0000) Subject: dup real and fake X-Git-Tag: post_ajp_proxy~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7063433b1551ae994fdd08933a370b04384f4286;p=apache dup real and fake Submitted by: jfclere git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104577 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c index d8401e4c79..576c4d2fb9 100644 --- a/modules/proxy/mod_proxy.c +++ b/modules/proxy/mod_proxy.c @@ -819,8 +819,8 @@ static const char * return "ProxyPass needs a path when not defined in a location"; new = apr_array_push(conf->aliases); - new->fake = f; - new->real = r; + new->fake = apr_pstrdup(cmd->pool, f); + new->real = apr_pstrdup(cmd->pool, r); arr = apr_table_elts(params); elts = (const apr_table_entry_t *)arr->elts;