Fix memory leak in Collada importer

Affects Collada files with morph Controller Elements.
pull/1180/head
JonAllee 2017-02-13 11:25:30 -08:00
parent a75fa44bde
commit 5deb441a9c
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