You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2019/04/20 07:21:03 UTC

svn commit: r1857859 - /httpd/httpd/trunk/server/core.c

Author: jailletc36
Date: Sat Apr 20 07:21:03 2019
New Revision: 1857859

URL: http://svn.apache.org/viewvc?rev=1857859&view=rev
Log:
Fix a compilation error when GPROF is defined.

Modified:
    httpd/httpd/trunk/server/core.c

Modified: httpd/httpd/trunk/server/core.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core.c?rev=1857859&r1=1857858&r2=1857859&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Sat Apr 20 07:21:03 2019
@@ -1633,7 +1633,7 @@ static const char *set_gprof_dir(cmd_par
         return err;
     }
 
-    conf->gprof_dir = arg;
+    conf->gprof_dir = apr_pstrdup(cmd->pool, arg);
     return NULL;
 }
 #endif /*GPROF*/