Memory leak in TiXmlDocument::LoadFile()?
by Richard Skala · in iTorque 2D · 05/29/2011 (4:59 pm) · 0 replies
I noticed that TiXmlDocument::LoadFile( const char* fileName ), a new FileStream object is being allocated, but is not being released (at least, not that I can see).
This line:
Someone please correct me if I am wrong, but this line needs be somewhere in there:
I am currently using iTorque 1.4.
This line:
diskStream = new FileStream;
Someone please correct me if I am wrong, but this line needs be somewhere in there:
delete diskStream;
I am currently using iTorque 1.4.
About the author
Founded in 2009, Pixel Vandals Inc. is focused on bringing fun, fresh, and new ideas to the iPhone. www.pixelvandals.com www.pixelvandals.com/vineking