aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorMax Horn2008-03-27 11:06:29 +0000
committerMax Horn2008-03-27 11:06:29 +0000
commit9287ea8376b689359b7c10a4b4a8b14474c402b5 (patch)
tree1c3a619555836ff543c81bdb638c58684b087cab /base
parent4d51eb5fb74b13a34a3807d0bdd5fdafb98388fa (diff)
downloadscummvm-rg350-9287ea8376b689359b7c10a4b4a8b14474c402b5.tar.gz
scummvm-rg350-9287ea8376b689359b7c10a4b4a8b14474c402b5.tar.bz2
scummvm-rg350-9287ea8376b689359b7c10a4b4a8b14474c402b5.zip
Patch #1926787: small memory leak and cleanup
svn-id: r31261
Diffstat (limited to 'base')
-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;
}