diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-08-28 22:45:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-08-29 00:18:57 +0300 |
commit | 3db999ff2d3324ffad6ba6a469ca224c8d864dc3 (patch) | |
tree | 78ecfd05c1267f7360e42876072ddb21efa1a096 /src/client.cpp | |
parent | 57726c7324f165c70671fc5b05d6c0964f56b870 (diff) | |
download | manaverse-3db999ff2d3324ffad6ba6a469ca224c8d864dc3.tar.gz manaverse-3db999ff2d3324ffad6ba6a469ca224c8d864dc3.tar.bz2 manaverse-3db999ff2d3324ffad6ba6a469ca224c8d864dc3.tar.xz manaverse-3db999ff2d3324ffad6ba6a469ca224c8d864dc3.zip |
add some more missing checks.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index 974853279..7ff47e506 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -755,9 +755,11 @@ void Client::gameClear() logger->log1("Quitting1"); config.removeListeners(this); - userPalette = nullptr; + delete setupWindow; setupWindow = nullptr; + delete helpWindow; helpWindow = nullptr; + delete didYouKnowWindow; didYouKnowWindow = nullptr; SDL_RemoveTimer(mLogicCounterId); |