LWSImporter: Fix direct memory leak
- Fix leak found by fuzzer - closes https://github.com/assimp/assimp/issues/4231kimkulling-fix_direct_leak_issue4231
parent
819d9f7257
commit
1275149fb4
|
@ -927,6 +927,7 @@ void LWSImporter::InternReadFile(const std::string &pFile, aiScene *pScene, IOSy
|
||||||
SkeletonMeshBuilder builder(pScene);
|
SkeletonMeshBuilder builder(pScene);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
delete master;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // !! ASSIMP_BUILD_NO_LWS_IMPORTER
|
#endif // !! ASSIMP_BUILD_NO_LWS_IMPORTER
|
||||||
|
|
Loading…
Reference in New Issue