From 79e8799a0782a018833ec0003bb0e5086508da07 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 28 Feb 2014 20:55:17 +0300 Subject: fix some leaks issues. --- src/being/being.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/being/being.cpp') diff --git a/src/being/being.cpp b/src/being/being.cpp index 705d97439..41c3bc40c 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -3148,6 +3148,7 @@ void Being::removePet(const int id) actorManager->erase(pet); mPets.erase(it); delete pet; + return; } } } -- cgit v1.2.3-70-g09d2