Skip to content

Commit

Permalink
Merge pull request assimp#5207 from sashashura/4658377717055488
Browse files Browse the repository at this point in the history
Fix Invalid-free in Assimp::FBX::Scope::Scope
  • Loading branch information
kimkulling authored Aug 17, 2023
2 parents 3a02de4 + 5c45cdc commit 72c10d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/AssetLib/FBX/FBXParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 72c10d8

Please sign in to comment.