diff --git a/include/assimp/anim.h b/include/assimp/anim.h index 970be9989..4fac3e4d8 100644 --- a/include/assimp/anim.h +++ b/include/assimp/anim.h @@ -477,6 +477,8 @@ struct aiAnimation { for( unsigned int a = 0; a < mNumMorphMeshChannels; a++) { delete mMorphMeshChannels[a]; } + + delete [] mMorphMeshChannels; } } #endif // __cplusplus