diff options
Diffstat (limited to 'base/main.cpp')
-rw-r--r-- | base/main.cpp | 2 |
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; } |