closes https://github.com/assimp/assimp/issues/1893: fix mem leak in glft2Importer.
parent
6a0dc071a9
commit
da073f1270
|
@ -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