httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1136947 - /httpd/httpd/trunk/modules/slotmem/mod_slotmem_shm.c
Date Fri, 17 Jun 2011 17:15:57 GMT
Author: jim
Date: Fri Jun 17 17:15:57 2011
New Revision: 1136947

URL: http://svn.apache.org/viewvc?rev=1136947&view=rev
Log:
No mo subpool

Modified:
    httpd/httpd/trunk/modules/slotmem/mod_slotmem_shm.c

Modified: httpd/httpd/trunk/modules/slotmem/mod_slotmem_shm.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/slotmem/mod_slotmem_shm.c?rev=1136947&r1=1136946&r2=1136947&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/slotmem/mod_slotmem_shm.c (original)
+++ httpd/httpd/trunk/modules/slotmem/mod_slotmem_shm.c Fri Jun 17 17:15:57 2011
@@ -650,16 +650,7 @@ static int post_config(apr_pool_t *p, ap
 static int pre_config(apr_pool_t *p, apr_pool_t *plog,
                       apr_pool_t *ptemp)
 {
-    apr_pool_t *global_pool;
-    apr_status_t rv;
-
-    rv = apr_pool_create(&global_pool, p);
-    if (rv != APR_SUCCESS || !global_pool) {
-        ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL,
-            "Fatal error: unable to create global pool for shared slotmem");
-        return rv;
-    }
-    slotmem_shm_initgpool(global_pool);
+    slotmem_shm_initgpool(p);
     return OK;
 }
 



Mime
View raw message