From: Brian Havard Date: Sun, 14 Apr 2002 06:18:13 +0000 (+0000) Subject: apr_bucket_alloc_create() now registers a cleanup that does a X-Git-Tag: 2.0.36~206 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d98925fa0db2c1ce8e7493b3f13c692e92f89442;p=thirdparty%2Fapache%2Fhttpd.git apr_bucket_alloc_create() now registers a cleanup that does a apr_bucket_alloc_destroy(). Don't double free by calling it explicitly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94641 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 ccea32d63e7..c18bbb148fd 100644 --- a/server/mpm/mpmt_os2/mpmt_os2_child.c +++ b/server/mpm/mpmt_os2/mpmt_os2_child.c @@ -443,7 +443,6 @@ static void worker_main(void *vpArg) } apr_pool_destroy(pconn); - apr_bucket_alloc_destroy(bucket_alloc); ap_update_child_status_from_indexes(child_slot, thread_slot, SERVER_READY, NULL); }