]> granicus.if.org Git - apache/commitdiff
apr_bucket_alloc_create() now registers a cleanup that does a
authorBrian Havard <bjh@apache.org>
Sun, 14 Apr 2002 06:18:13 +0000 (06:18 +0000)
committerBrian Havard <bjh@apache.org>
Sun, 14 Apr 2002 06:18:13 +0000 (06:18 +0000)
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

server/mpm/mpmt_os2/mpmt_os2_child.c

index ccea32d63e74987302c9cd536c1b1b7c0474ec84..c18bbb148fd56ba6a49aa324639611f9f3f94ffa 100644 (file)
@@ -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);
     }