[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-cvs
Subject:    svn commit: r1857859 - /httpd/httpd/trunk/server/core.c
From:       jailletc36 () apache ! org
Date:       2019-04-20 7:21:03
Message-ID: 20190420072103.F01873A0168 () svn01-us-west ! apache ! org
[Download RAW message or body]

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*/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic