summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-22 19:37:01 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-10-22 19:37:01 +0000
commitc2d102ed9adfdf1a960b6eb97ce58961022f62c8 (patch)
tree0c040e6c54db532c1e1115facad667fe6bcc3e45 /src/main.cpp
parentd69c8e1bccaf383a73bf2c122794cfc467f4b6e7 (diff)
downloadmana-client-c2d102ed9adfdf1a960b6eb97ce58961022f62c8.tar.gz
mana-client-c2d102ed9adfdf1a960b6eb97ce58961022f62c8.tar.bz2
mana-client-c2d102ed9adfdf1a960b6eb97ce58961022f62c8.tar.xz
mana-client-c2d102ed9adfdf1a960b6eb97ce58961022f62c8.zip
Not sure how I was able to mess this one.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c7c4683c..e8fe26cb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1047,16 +1047,17 @@ int main(int argc, char *argv[])
}
}
}
+
+#ifdef PACKAGE_VERSION
+ delete versionLabel;
+#endif
+
}
catch (...)
{
logger->log("Exception");
}
-#ifdef PACKAGE_VERSION
- delete versionLabel;
-#endif
-
accountServerConnection->disconnect();
gameServerConnection->disconnect();
chatServerConnection->disconnect();