From fcceb99e070e668533122459c44f12d749a0ebea Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Fri, 12 Jul 2019 08:17:39 +0000 Subject: [PATCH] Merge r1857859 from trunk: Fix a compilation error when GPROF is defined. Submitted by: jailletc36 Reviewed by: jfclere, icing, jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1862958 13f79535-47bb-0310-9956-ffa450edef68 --- server/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core.c b/server/core.c index eacb54fecec..02aadd50af2 100644 --- a/server/core.c +++ b/server/core.c @@ -1520,7 +1520,7 @@ static const char *set_gprof_dir(cmd_parms *cmd, void *dummy, const char *arg) return err; } - conf->gprof_dir = arg; + conf->gprof_dir = apr_pstrdup(cmd->pool, arg); return NULL; } #endif /*GPROF*/ -- 2.47.3