
13 Nov
2010
13 Nov
'10
7:43 a.m.
(which doesn't allocate memory).
>>>>>>>>
That's not true.
Check this out..
shared_count.hpp
template (p, d);
}
catch(...)
{
d(p); // delete p
throw;
}
}
That's what causes the leak.