TinyXML++ memory leaks

Started by
19 comments, last by Codeka 15 years ago
Quote:Original post by leelouch
Element* temp = new Element( sibling );
sibling->m_spawnedWrappers.push_back( temp );

why not storing one and only wrapper ?
Yeah, that's what I was talking about above. I'm not sure why they do it like that (I guess it's just easier). My recommendation to you is to ditch TinyXML++ and just go with TinyXML. It's still C++, it just doesn't use templates and exceptions as heavily (or at all).

This topic is closed to new replies.

Advertisement