closes https://github.com/assimp/assimp/issues/1893: fix mem leak in glft2Importer.

pull/1896/head
kimkulling 2018-04-11 17:22:31 +02:00
parent 6a0dc071a9
commit da073f1270
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}