Skip to content

Commit

Permalink
Fixed memleak
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanAizek authored and eugenegff committed Oct 5, 2022
1 parent 10e5e1b commit 092cfee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion OgreMain/src/OgreAnimationState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ namespace Ogre
mParent->_notifyDirty();
}
//---------------------------------------------------------------------
AnimationState::~AnimationState() {}
AnimationState::~AnimationState()
{
destroyBlendMask();
}
//---------------------------------------------------------------------
AnimationState::AnimationState( const String &animName, AnimationStateSet *parent, Real timePos,
Real length, Real weight, bool enabled ) :
Expand Down

0 comments on commit 092cfee

Please sign in to comment.