summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp4
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);