Memory Leak : tinystr.h init function
Brought to you by:
leethomason
There appears to be a memory leak in the init function located on line 228 of tinystr.h:
rep_ = reinterpret_cast<Rep*>( new int[ intsNeeded ] );
This is surrounding the use of the new operator. Here it is as reported by DBX on Solaris 10.
Memory Leak (mel):
Found 3 leaked blocks with total size 60 bytes
At time of each allocation, the call stack was:
[1] operator new() at 0xe6d0709c
[2] TiXmlString::init() at line 228 in "tinystr.h"
[3] TiXmlString::init() at line 206 in "tinystr.h"
I would like to work on this.. please assign it to me.