1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 17:49:41 +00:00

memory leak fix

This commit is contained in:
mrcheko 2014-05-19 23:29:35 +04:00
parent fa14df62b7
commit 638df221a6

View file

@ -146,6 +146,7 @@ void AiSequence::execute (const MWWorld::Ptr& actor,float duration)
// target disappeared (e.g. summoned creatures)
if (target.isEmpty())
{
delete *it;
mPackages.erase(it++);
}
else