aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2010-10-24 13:26:58 +0000
committerWillem Jan Palenstijn2010-10-24 13:26:58 +0000
commit225fd20bee837d0a9d9959621c0aa8bfa8a4337b (patch)
tree830f5efe3006df4ca1361abd0cf4c2ea43e233ad
parentb446a7dcc2cd49e5591d36cfc2380a110cf979c0 (diff)
downloadscummvm-rg350-225fd20bee837d0a9d9959621c0aa8bfa8a4337b.tar.gz
scummvm-rg350-225fd20bee837d0a9d9959621c0aa8bfa8a4337b.tar.bz2
scummvm-rg350-225fd20bee837d0a9d9959621c0aa8bfa8a4337b.zip
Revert r53747: "GUI: added close() call to Dialog::runModal()"
It broke the launcher after adding new games. svn-id: r53765
-rw-r--r--gui/dialog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp
index e25cfa1397..e20b181c83 100644
--- a/gui/dialog.cpp
+++ b/gui/dialog.cpp
@@ -76,8 +76,6 @@ int Dialog::runModal() {
// Start processing events
g_gui.runLoop();
- close(); // to prevent resource leak in GUI manager
-
// Return the result code
return _result;
}