]> granicus.if.org Git - apache/commitdiff
dup real and fake
authorWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 11 Aug 2004 21:59:48 +0000 (21:59 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Wed, 11 Aug 2004 21:59:48 +0000 (21:59 +0000)
Submitted by: jfclere

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104577 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy.c

index d8401e4c79278951e8ea021a8c0688a6641cf864..576c4d2fb9515649e7a584ae4ab0071be81e59c0 100644 (file)
@@ -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;