apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r789061 - /apr/apr/trunk/buckets/apr_buckets_alloc.c
Date Sun, 28 Jun 2009 07:35:39 GMT
Author: pquerna
Date: Sun Jun 28 07:35:39 2009
New Revision: 789061

URL: http://svn.apache.org/viewvc?rev=789061&view=rev
Log:
Remove dead debug code referencing apr_pool_allocator_get, which doesn't exist anymore.

Modified:
    apr/apr/trunk/buckets/apr_buckets_alloc.c

Modified: apr/apr/trunk/buckets/apr_buckets_alloc.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/buckets/apr_buckets_alloc.c?rev=789061&r1=789060&r2=789061&view=diff
==============================================================================
--- apr/apr/trunk/buckets/apr_buckets_alloc.c (original)
+++ apr/apr/trunk/buckets/apr_buckets_alloc.c Sun Jun 28 07:35:39 2009
@@ -97,11 +97,6 @@
 
     apr_allocator_free(list->allocator, list->blocks);
 
-#if APR_POOL_DEBUG
-    if (list->pool && list->allocator != apr_pool_allocator_get(list->pool))
{
-        apr_allocator_destroy(list->allocator);
-    }
-#endif
 }
 
 APU_DECLARE_NONSTD(void *) apr_bucket_alloc(apr_size_t size, 



Mime
View raw message