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
I have a heavily used linked list of memory objects allocated using 
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


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

View raw message