Merge branch 'master' into master

This commit is contained in:
inhosens
2023-03-23 07:30:49 +01:00
committed by GitHub
2 changed files with 76 additions and 0 deletions

View File

@@ -815,6 +815,7 @@ nl_clean_loop:
for (; next_it != nodeArray.end(); ++next_it) {
if ((*next_it)->FindNode((*nl_it)->mName) != nullptr) {
// if current top node(nl_it) found in another top node then erase it from node_list and restart search loop.
// FIXME: this leaks memory on test models test8.amf and test9.amf
nodeArray.erase(nl_it);
goto nl_clean_loop;