
18 Mar
2006
18 Mar
'06
2:15 p.m.
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