On Mon, Nov 27, 2017 at 10:25 AM, eeadev dev <[email protected]> wrote:
> As written in the subject, is there a way to deallocate memory which has
> been allocated using apr_palloc() and what is the best practice to do that?
>

Create a sub-pool for the allocation and clear or destroy the subpool
(depending on whether you'll be re-using it) with the functions in
apr_pools.h.

-- 
Eric Covener
[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to