From 71cc1a7e741f06ce26f342ba8de61110286189b9 Mon Sep 17 00:00:00 2001 From: Christophe Jaillet Date: Wed, 1 Nov 2017 20:29:12 +0000 Subject: [PATCH] Save a few bytes in the conf pool when handling 'ProxyHTMLDoctype' directive with a user defined FPI git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1813991 13f79535-47bb-0310-9956-ffa450edef68 --- modules/filters/mod_proxy_html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/filters/mod_proxy_html.c b/modules/filters/mod_proxy_html.c index 62f2bee2e3..743f143780 100644 --- a/modules/filters/mod_proxy_html.c +++ b/modules/filters/mod_proxy_html.c @@ -1181,7 +1181,7 @@ static const char *set_doctype(cmd_parms *cmd, void *CFG, cfg->doctype = fpi_html5; } else { - cfg->doctype = apr_pstrdup(cmd->pool, t); + cfg->doctype = t; if (l && ((l[0] == 'x') || (l[0] == 'X'))) cfg->etag = xhtml_etag; else -- 2.50.1