diff --git a/code/glTF2Importer.cpp b/code/glTF2Importer.cpp index 11dc57856..3aeb3151e 100644 --- a/code/glTF2Importer.cpp +++ b/code/glTF2Importer.cpp @@ -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; } }