Fix memory leak in Collada importer
Affects Collada files with morph Controller Elements.
This commit is contained in:
@@ -477,6 +477,8 @@ struct aiAnimation {
|
||||
for( unsigned int a = 0; a < mNumMorphMeshChannels; a++) {
|
||||
delete mMorphMeshChannels[a];
|
||||
}
|
||||
|
||||
delete [] mMorphMeshChannels;
|
||||
}
|
||||
}
|
||||
#endif // __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user