summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 19fa9150..c7c4683c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1053,6 +1053,10 @@ int main(int argc, char *argv[])
logger->log("Exception");
}
+#ifdef PACKAGE_VERSION
+ delete versionLabel;
+#endif
+
accountServerConnection->disconnect();
gameServerConnection->disconnect();
chatServerConnection->disconnect();