]> granicus.if.org Git - apache/commitdiff
* event.c: Create ptrans pool as a child of pconf, to fix APR pool
authorPaul Querna <pquerna@apache.org>
Wed, 1 Jun 2005 05:00:29 +0000 (05:00 +0000)
committerPaul Querna <pquerna@apache.org>
Wed, 1 Jun 2005 05:00:29 +0000 (05:00 +0000)
  lifetime checks in apr_tables.c.

Based on r170896 changes to the Worker MPM.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@179355 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/experimental/event/event.c

index ce09103a4d29db1eef1396389595f4352871588c..45d8458290f5c887fdf88ec341f9da1b0be657f4 100644 (file)
@@ -946,7 +946,7 @@ static void *listener_thread(apr_thread_t * thd, void *dummy)
                     apr_allocator_create(&allocator);
                     apr_allocator_max_free_set(allocator,
                                                ap_max_mem_free);
-                    apr_pool_create_ex(&ptrans, NULL, NULL, allocator);
+                    apr_pool_create_ex(&ptrans, pconf, NULL, allocator);
                     apr_allocator_owner_set(allocator, ptrans);
                     if (ptrans == NULL) {
                         ap_log_error(APLOG_MARK, APLOG_CRIT, rc,