diff --git a/code/Common/Version.cpp b/code/Common/Version.cpp index 86d3f2220..cfb0de4e5 100644 --- a/code/Common/Version.cpp +++ b/code/Common/Version.cpp @@ -180,7 +180,8 @@ ASSIMP_API aiScene::~aiScene() { delete[] mCameras; aiMetadata::Dealloc(mMetaData); - mMetaData = nullptr; + delete[] mSkeletons; + delete static_cast(mPrivate); }