]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Don't spend more time destroying pool nodes than we have to.
authorBradley Nicholes <bnicholes@apache.org>
Wed, 30 Jul 2003 19:21:38 +0000 (19:21 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Wed, 30 Jul 2003 19:21:38 +0000 (19:21 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@100867 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/netware/mpm_netware.c

index 544f2d83acdb993ea6a5e98f88581d9b91e6ca7d..8db931e6e415008183a9da5da66db4cd64832613 100644 (file)
@@ -218,7 +218,10 @@ static void clean_child_exit(int code, int worker_num, apr_pool_t *pthrd,
                              apr_bucket_alloc_t *bucket_alloc)
 {
     if (!shutdown_pending) {
-        apr_bucket_alloc_destroy(bucket_alloc);
+        /* Destroying the thread pool should take
+           care of the bucket allocator.  So
+           there is no need to destroy the bucket
+           allocator here also */
         apr_pool_destroy(pthrd);
     }