Merge pull request #2209 from daef/patch-2

delete[] doesnt set nullptr
pull/2211/head^2
Kim Kulling 2018-11-09 10:28:00 +01:00 committed by GitHub
commit 2d1f34f191
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -104,5 +104,6 @@ bool DropFaceNormalsProcess::DropMeshFaceNormals (aiMesh* pMesh) {
} }
delete[] pMesh->mNormals; delete[] pMesh->mNormals;
pMesh->mNormals = nullptr;
return true; return true;
} }