diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-28 20:55:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-28 20:55:17 +0300 |
commit | 79e8799a0782a018833ec0003bb0e5086508da07 (patch) | |
tree | dd810411b64ac009d9965d79919a43d8c9e095f4 /src/being | |
parent | 6d709b0c218791fdacdbd8b234a1301a135aeb33 (diff) | |
download | plus-79e8799a0782a018833ec0003bb0e5086508da07.tar.gz plus-79e8799a0782a018833ec0003bb0e5086508da07.tar.bz2 plus-79e8799a0782a018833ec0003bb0e5086508da07.tar.xz plus-79e8799a0782a018833ec0003bb0e5086508da07.zip |
fix some leaks issues.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } } } |