From 3bec8d3300c099012d3a1f89c330d70497dd0296 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Wed, 28 Sep 2011 15:34:03 +0000 Subject: [PATCH] - compile bugfix --- source/glest_game/menu/menu_state_custom_game.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/glest_game/menu/menu_state_custom_game.cpp b/source/glest_game/menu/menu_state_custom_game.cpp index cd870ec86..0ef8efea3 100644 --- a/source/glest_game/menu/menu_state_custom_game.cpp +++ b/source/glest_game/menu/menu_state_custom_game.cpp @@ -647,7 +647,8 @@ void MenuStateCustomGame::cleanup() { publishToMasterserverThread->signalQuit(); if(publishToMasterserverThread->canShutdown(true) == true && publishToMasterserverThread->shutdownAndWait() == true) { - delete publishToMasterserverThread; + delete publishToMasterserverThread; + } } publishToMasterserverThread = NULL;