httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1153653 - /httpd/httpd/trunk/server/config.c
Date Wed, 03 Aug 2011 20:35:04 GMT
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);
 



Mime
View raw message