diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-22 19:07:38 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-22 19:07:38 +0000 |
commit | d69c8e1bccaf383a73bf2c122794cfc467f4b6e7 (patch) | |
tree | ee362d7dd9b7d112014617ec44a4fce3b92ae6ce /src/main.cpp | |
parent | 777bc93bbfb2eae527533c824ff0fa453f8cc82b (diff) | |
download | mana-d69c8e1bccaf383a73bf2c122794cfc467f4b6e7.tar.gz mana-d69c8e1bccaf383a73bf2c122794cfc467f4b6e7.tar.bz2 mana-d69c8e1bccaf383a73bf2c122794cfc467f4b6e7.tar.xz mana-d69c8e1bccaf383a73bf2c122794cfc467f4b6e7.zip |
Plugged memory leak. Cleaned code.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
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(); |