apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve doh" <t...@hotmail.com>
Subject Freeing individual memory allocations allocated by apr_pcalloc()
Date Tue, 21 Jun 2005 05:27:25 GMT
Hi,
I have a heavily used linked list of memory objects allocated using 
apr_pcalloc().
I have created a specific apr_pool just for this list.
How do I free the memory for a single object in this list after it has been 
unlinked from the list?
I would normally use the apr_pool_destroy() function but this would wipe out 
the whole linked list.
I can see that not freeing the unlinked objects will cause memory problems 
after the program has been running for a while.
What am I missing?

Thanks for you help

Regards
Steve

_________________________________________________________________
Become a fitness fanatic @  http://xtramsn.co.nz/health


Mime
View raw message