jwoolley 2002/07/01 00:31:01
Modified: buckets apr_brigade.c
Log:
This is the exact same thing really, but we might as well use the
pool API the way it was meant to be since it's there and all...
Revision Changes Path
1.46 +1 -2 apr-util/buckets/apr_brigade.c
Index: apr_brigade.c
===================================================================
RCS file: /home/cvs/apr-util/buckets/apr_brigade.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -u -r1.45 -r1.46
--- apr_brigade.c 29 Jun 2002 22:39:43 -0000 1.45
+++ apr_brigade.c 1 Jul 2002 07:31:01 -0000 1.46
@@ -93,8 +93,7 @@
APU_DECLARE(apr_status_t) apr_brigade_destroy(apr_bucket_brigade *b)
{
- apr_pool_cleanup_kill(b->p, b, brigade_cleanup);
- return apr_brigade_cleanup(b);
+ return apr_pool_cleanup_run(b->p, b, brigade_cleanup);
}
APU_DECLARE(apr_bucket_brigade *) apr_brigade_create(apr_pool_t *p,