Mladen Turk
Fri, 18 Jul 2008 21:13:35 -0700
Bojan Smojver wrote:
On Sat, 2008-07-19 at 09:08 +1000, Bojan Smojver wrote:This should be better.Third time's the charm? I keep forgetting that by the time destructor is called, pool may be dead and buried already...
But not with pre_cleanup. That's the whole point. You don't need additional cleanup neither malloc/free. Simply call the apr_pool_destroy at the end of the destructor, and it'll work. Regards -- ^(TM)