> On Mon, 1 Apr 2002, Bill Stoddard wrote:
>
> > I suspect apr_bucket_alloc_create() is called in the wrong place.
> > Working on it. SHould have a patch in 30 min or so.
>
> A semi-related question::
>
>    Should apr_bucket_alloc_create() be registering a cleanup on the pool
> that's passed into it so that apr_bucket_alloc_destroy() is called
> automatically when that pool dies?
No I don't think so. The callwe of apr_bucket_alloc_create() can register a cleanup
against the proper pool but this is not something apr_bucket_alloc_create should do
(because, as you mention, apr_bucket_alloc_create() does not really need a pool.)


> I didn't do this before because I was
> hoping to get rid of the pool parameter to apr_bucket_alloc_create()
> entirely.  Right now we're not using it for anything.
>
> --Cliff
>
> --------------------------------------------------------------
>    Cliff Woolley
>    [EMAIL PROTECTED]
>    Charlottesville, VA
>
>

Reply via email to