Improved object lifecycle tracking and fix leaks.

This commit is contained in:
Jason Sams
2009-09-25 16:37:33 -07:00
parent 66b2771d74
commit 61f08d6fa7
23 changed files with 123 additions and 17 deletions

View File

@ -50,6 +50,12 @@ public:
static void zeroAllUserRef(Context *rsc);
void dumpObj(const char *op) const;
protected:
const char *mAllocFile;
uint32_t mAllocLine;
private:
void add() const;
void remove() const;