Merge pull request #5207 from sashashura/4658377717055488
Fix Invalid-free in Assimp::FBX::Scope::Scopepull/5213/head
commit
72c10d856f
|
@ -211,7 +211,7 @@ Scope::Scope(Parser& parser,bool topLevel)
|
|||
elements.insert(ElementMap::value_type(str, element));
|
||||
return;
|
||||
}
|
||||
delete element;
|
||||
delete_Element(element);
|
||||
ParseError("unexpected end of file",parser.LastToken());
|
||||
} else {
|
||||
elements.insert(ElementMap::value_type(str, element));
|
||||
|
|
Loading…
Reference in New Issue