LWSImporter: Fix direct memory leak

- Fix leak found by fuzzer
- closes https://github.com/assimp/assimp/issues/4231
kimkulling-fix_direct_leak_issue4231
Kim Kulling 2021-12-10 15:19:37 +01:00 committed by GitHub
parent 819d9f7257
commit 1275149fb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -927,6 +927,7 @@ void LWSImporter::InternReadFile(const std::string &pFile, aiScene *pScene, IOSy
SkeletonMeshBuilder builder(pScene);
}
}
delete master;
}
#endif // !! ASSIMP_BUILD_NO_LWS_IMPORTER