From: Stefan Fritsch Date: Wed, 3 Aug 2011 20:35:03 +0000 (+0000) Subject: use temp pool for temp string X-Git-Tag: 2.3.15~421 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=77bd4820bc0a8546dec7eb145158fdcaaee768e4;p=thirdparty%2Fapache%2Fhttpd.git use temp pool for temp string git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1153653 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/config.c b/server/config.c index 640e563fed5..3a9a558da0f 100644 --- a/server/config.c +++ b/server/config.c @@ -1239,7 +1239,7 @@ static const char *ap_walk_config_sub(const ap_directive_t *current, { 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);