Fix memory handling of xml-nodes in the parser.

This commit is contained in:
Kim Kulling
2020-09-01 21:48:50 +02:00
parent 3c2133a3b9
commit 73fa2cbe88
10 changed files with 86 additions and 406 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ public:
std::vector<aiNode *> children;
std::string nodeName;
XmlNode node = *mXmlParser->getRootNode();
XmlNode node = mXmlParser->getRootNode();
for (XmlNode currentNode = node.first_child(); currentNode; currentNode = currentNode.next_sibling()) {
const std::string &currentNodeName = currentNode.name();