summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-02 02:55:29 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-02 02:55:29 +0300
commita70addadba0be1880bc55f13701034585aa19128 (patch)
tree5412e7844cc5a08532b82e4776b4bd3c9bff4818 /src/game.cpp
parent38846eb9dda3b1656a0b36acb2945edf7b314fa0 (diff)
downloadplus-a70addadba0be1880bc55f13701034585aa19128.tar.gz
plus-a70addadba0be1880bc55f13701034585aa19128.tar.bz2
plus-a70addadba0be1880bc55f13701034585aa19128.tar.xz
plus-a70addadba0be1880bc55f13701034585aa19128.zip
Fix possible leaks on exit and asserts about adding non existing zips and directories.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 9dcafad67..a96ded978 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -475,6 +475,7 @@ Game::~Game()
#endif // USE_MUMBLE
delete2(crazyMoves);
+ delete2(emptyBeingSlot);
Being::clearCache();
mInstance = nullptr;