From: Brian Havard Date: Mon, 1 Apr 2002 16:42:02 +0000 (+0000) Subject: Destroy the connection pool (and therefore run the cleanups) before destroying X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ccc2ecce7a0ed6c549ee12aa4ad60954c3d135f;p=apache Destroy the connection pool (and therefore run the cleanups) before destroying 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 --- diff --git a/server/mpm/mpmt_os2/mpmt_os2_child.c b/server/mpm/mpmt_os2/mpmt_os2_child.c index f9d7f1cdd5..ccea32d63e 100644 --- a/server/mpm/mpmt_os2/mpmt_os2_child.c +++ b/server/mpm/mpmt_os2/mpmt_os2_child.c @@ -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); }