You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2011/08/03 22:35:04 UTC

svn commit: r1153653 - /httpd/httpd/trunk/server/config.c

Author: sf
Date: Wed Aug  3 20:35:03 2011
New Revision: 1153653

URL: http://svn.apache.org/viewvc?rev=1153653&view=rev
Log:
use temp pool for temp string

Modified:
    httpd/httpd/trunk/server/config.c

Modified: httpd/httpd/trunk/server/config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/config.c?rev=1153653&r1=1153652&r2=1153653&view=diff
==============================================================================
--- httpd/httpd/trunk/server/config.c (original)
+++ httpd/httpd/trunk/server/config.c Wed Aug  3 20:35:03 2011
@@ -1239,7 +1239,7 @@ static const char *ap_walk_config_sub(co
 {
     const command_rec *cmd;
     ap_mod_list *ml;
-    char *dir = apr_pstrdup(parms->pool, current->directive);
+    char *dir = apr_pstrdup(parms->temp_pool, current->directive);
 
     ap_str_tolower(dir);