From c2d102ed9adfdf1a960b6eb97ce58961022f62c8 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Mon, 22 Oct 2007 19:37:01 +0000 Subject: Not sure how I was able to mess this one. --- src/main.cpp | 9 +++++---- 1 file 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(); -- cgit v1.2.3-70-g09d2