From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-01-14 11:43:20
> I am trying to enable BOOST_SP_USE_QUICK_ALLOCATOR while using
> shared_ptr, so to make shared_ptr to use quick_allocator to
> alloc/dealloc memory,
> But it seems that quick_allocator never free the memory pool (blocks)
> after my program exits, do I miss something?
It doesn't. After your program exits, all memory is automatically freed by
the OS. There's no need to free it explicitly, except maybe to keep
simplistic leak checkers happy.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk