diff options
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index f5b3c4d8..5c9d1726 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1271,6 +1271,11 @@ int main(int argc, char *argv[]) Net::ChatServer::connect(chatServerConnection, token); sound.fadeOutMusic(1000); + delete setupButton; + delete desktop; + setupButton = NULL; + desktop = NULL; + currentDialog = NULL; logger->log("State: GAME"); |