apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: Question about memory pools in APR.
Date Mon, 13 Dec 2004 11:46:46 GMT
On Sun, 12 Dec 2004, Jose Quiroga wrote:

> Hi APR people,
>
> How do I 'free' memory that I have allocated with
> apr_palloc or apr_pcalloc ?

You don't.  It happens when the pool is destroyed.  Your task (which is
done for you in common cases such as most Apache module writing) is to
manage your pools.

http://www.apachetutor.org/dev/pools

-- 
Nick Kew

Mime
View raw message