]> granicus.if.org Git - apache/commitdiff
Destroy the connection pool (and therefore run the cleanups) before destroying
authorBrian Havard <bjh@apache.org>
Mon, 1 Apr 2002 16:42:02 +0000 (16:42 +0000)
committerBrian Havard <bjh@apache.org>
Mon, 1 Apr 2002 16:42:02 +0000 (16:42 +0000)
the bucket_alloc as the cleanups refer to buckets allocated by the
bucket_alloc.

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

server/mpm/mpmt_os2/mpmt_os2_child.c

index f9d7f1cdd5aaac9e07b6051b9fb7b0f5073c0277..ccea32d63e74987302c9cd536c1b1b7c0474ec84 100644 (file)
@@ -442,8 +442,8 @@ static void worker_main(void *vpArg)
             ap_lingering_close(current_conn);
         }
 
-        apr_bucket_alloc_destroy(bucket_alloc);
         apr_pool_destroy(pconn);
+        apr_bucket_alloc_destroy(bucket_alloc);
         ap_update_child_status_from_indexes(child_slot, thread_slot, 
                                             SERVER_READY, NULL);
     }