Merge pull request #1896 from assimp/issue_1893
closes https://github.com/assimp/assimp/issues/1893: fix mem leak in …pull/1884/head^2
commit
bb5607d1ae
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue