fix irrreader leak.
This commit is contained in:
@@ -1564,8 +1564,10 @@ namespace Assimp {
|
||||
|
||||
bone_map.clear();
|
||||
}
|
||||
catch (std::exception&e) {
|
||||
catch (std::exception &e) {
|
||||
FBXImporter::LogError(e.what());
|
||||
std::for_each(bones.begin(), bones.end(), Util::delete_fun<aiBone>());
|
||||
|
||||
throw;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user