]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Win32: round up a line of lost code
authorBill Stoddard <stoddard@apache.org>
Thu, 4 Mar 2004 20:12:47 +0000 (20:12 +0000)
committerBill Stoddard <stoddard@apache.org>
Thu, 4 Mar 2004 20:12:47 +0000 (20:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@102853 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/winnt/child.c

index 67b9e67d27f02fe4f6d8ec1114e4a9f868a9646e..89ca6648a092a2cd6606d2fd1129eb6272e3cceb 100644 (file)
@@ -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);
     }