Merge pull request #1180 from JonAllee/Memory-Fix

Fix memory leak in Collada importer
pull/1186/head
Kim Kulling 2017-02-13 20:57:25 +01:00 committed by GitHub
commit 2afeddd5cb
1 changed files with 2 additions and 0 deletions

View File

@ -477,6 +477,8 @@ struct aiAnimation {
for( unsigned int a = 0; a < mNumMorphMeshChannels; a++) {
delete mMorphMeshChannels[a];
}
delete [] mMorphMeshChannels;
}
}
#endif // __cplusplus