Boost logo

Boost :

From: Daniel Frey (d.frey_at_[hidden])
Date: 2006-03-18 09:15:05


Joe Gottman wrote:
> I think you should use a shared_array here.
> shared_array<char *> p(( ::backtrace_symbols(addr,n), &::free );

Doh! Of course! I just haven't looked at shared_array because I received
a pointer from backtrace_symbols, which obviously means nothing in this
case. Sorry for the noise and thanks!

Regards, Daniel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk