2 Sep 2009 03:23
Debugging leaked smart pointers
Derek Tong <derek.a.tong <at> gmail.com>
2009-09-02 01:23:53 GMT
2009-09-02 01:23:53 GMT
Hi, I'm currently working with smart pointers with reference counting. Certain classes do a check (debug assert) in their shutdown routine to make sure the reference count of the pointers they own are not higher than they should be (i.e. 1 in these cases). Currently, a lot of these checks are failing. I was wondering if anybody is familiar with a straightforward, unobtrusive, approach to dealing with leaked smart pointers? It's good to know that there's a problem, but I can't think of an obvious way to track down to code responsible. _______________________________________________ Sweng-Gamedev mailing list Sweng-Gamedev <at> lists.midnightryder.com http://lists.midnightryder.com/listinfo.cgi/sweng-gamedev-midnightryder.com
RSS Feed