Merge pull request #1896 from assimp/issue_1893
closes https://github.com/assimp/assimp/issues/1893: fix mem leak in …
This commit is contained in:
@@ -412,7 +412,7 @@ void glTF2Importer::ImportMeshes(glTF2::Asset& r)
|
||||
aim->mBitangents[i] = (aim->mNormals[i] ^ tangents[i].xyz) * tangents[i].w;
|
||||
}
|
||||
|
||||
delete tangents;
|
||||
delete [] tangents;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user