httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <b...@wstoddard.com>
Subject Re: Big memory leak in Windows...
Date Mon, 01 Apr 2002 19:30:36 GMT

> 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
>    cliffwoolley@yahoo.com
>    Charlottesville, VA
>
>


Mime
View raw message