On Tue, Jan 15, 2019 at 12:04:03PM +0100, Branko Čibej wrote:
> While I understand all these arguments, I have trouble understanding how
> they pertain to APR pools -- since there's no apr_pool_free(), the only
> time memory can be returned to the system is during apr_pool_clear() and
> apr_pool_destroy(). AFAIR in "production" mode, only the latter will
> release memory, whereas apr_pool_clear() will just recycle it. Does
> apr_pool_clear() release memory when pool debugging is enabled?

As far as I can see, yes, pool_clear_debug() calls free() directly
instead of allocator_free().

Reply via email to