aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'base/main.cpp')
-rw-r--r--base/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/main.cpp b/base/main.cpp
index a3e1c0fe5d..a53595ffca 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -332,7 +332,7 @@ extern "C" int scummvm_main(int argc, char *argv[]) {
PluginManager::instance().unloadPluginsExcept(NULL);
PluginManager::instance().destroy();
ConfMan.destroy();
- delete g_gui.theme();
+ g_gui.destroy();
return 0;
}