From: Christophe Jaillet Date: Fri, 23 May 2014 21:12:16 +0000 (+0000) Subject: Save a few bytes of memory. This can be done in temp_pool. X-Git-Tag: 2.5.0-alpha~4147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58dedee7d5baef0ac15f7054bae58a78aba9691c;p=apache Save a few bytes of memory. This can be done in temp_pool. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1597182 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/metadata/mod_usertrack.c b/modules/metadata/mod_usertrack.c index 61752b7d5b..377c77bc45 100644 --- a/modules/metadata/mod_usertrack.c +++ b/modules/metadata/mod_usertrack.c @@ -308,9 +308,9 @@ static const char *set_cookie_exp(cmd_parms *parms, void *dummy, * CookieExpires "[plus] { }*" */ - word = ap_getword_conf(parms->pool, &arg); + word = ap_getword_conf(parms->temp_pool, &arg); if (!strncasecmp(word, "plus", 1)) { - word = ap_getword_conf(parms->pool, &arg); + word = ap_getword_conf(parms->temp_pool, &arg); }; /* { }* */ @@ -322,7 +322,7 @@ static const char *set_cookie_exp(cmd_parms *parms, void *dummy, return "bad expires code, numeric value expected."; /* */ - word = ap_getword_conf(parms->pool, &arg); + word = ap_getword_conf(parms->temp_pool, &arg); if (!word[0]) return "bad expires code, missing "; @@ -346,7 +346,7 @@ static const char *set_cookie_exp(cmd_parms *parms, void *dummy, modifier = modifier + factor * num; /* next */ - word = ap_getword_conf(parms->pool, &arg); + word = ap_getword_conf(parms->temp_pool, &arg); } cls->expires = modifier;