Fix memory leak in Collada importer
Affects Collada files with morph Controller Elements.pull/1180/head
parent
a75fa44bde
commit
5deb441a9c
|
@ -477,6 +477,8 @@ struct aiAnimation {
|
|||
for( unsigned int a = 0; a < mNumMorphMeshChannels; a++) {
|
||||
delete mMorphMeshChannels[a];
|
||||
}
|
||||
|
||||
delete [] mMorphMeshChannels;
|
||||
}
|
||||
}
|
||||
#endif // __cplusplus
|
||||
|
|
Loading…
Reference in New Issue