From: Bill Stoddard Date: Thu, 4 Mar 2004 20:12:47 +0000 (+0000) Subject: Win32: round up a line of lost code X-Git-Tag: 2.0.49~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a7b2b546fcb8d6284a5c9d17c56da2328285e66;p=thirdparty%2Fapache%2Fhttpd.git Win32: round up a line of lost code git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@102853 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/winnt/child.c b/server/mpm/winnt/child.c index 67b9e67d27f..89ca6648a09 100644 --- a/server/mpm/winnt/child.c +++ b/server/mpm/winnt/child.c @@ -163,8 +163,8 @@ AP_DECLARE(PCOMP_CONTEXT) mpm_get_completion_context(void) CloseHandle(context->Overlapped.hEvent); return NULL; } - apr_pool_tag(context->ptrans, "transaction"); apr_allocator_owner_set(allocator, context->ptrans); + apr_pool_tag(context->ptrans, "transaction"); context->accept_socket = INVALID_SOCKET; context->ba = apr_bucket_alloc_create(pchild); apr_atomic_inc(&num_completion_contexts); @@ -403,6 +403,7 @@ static PCOMP_CONTEXT win9x_get_connection(PCOMP_CONTEXT context) apr_allocator_create(&allocator); apr_allocator_max_free_set(allocator, ap_max_mem_free); apr_pool_create_ex(&context->ptrans, pchild, NULL, allocator); + apr_allocator_owner_set(allocator, context->ptrans); apr_pool_tag(context->ptrans, "transaction"); context->ba = apr_bucket_alloc_create(pchild); }