Merge pull request #1896 from assimp/issue_1893

closes https://github.com/assimp/assimp/issues/1893: fix mem leak in …
pull/1884/head^2
Kim Kulling 2018-04-11 21:44:45 +02:00 committed by GitHub
commit bb5607d1ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}
}