diff options
author | Einar Johan Trøan Sømåen | 2012-06-27 23:32:57 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-27 23:32:57 +0200 |
commit | e49b43f7a9bbbe7bda7c4107b0279bf2add1aaaa (patch) | |
tree | 9aa69692a5b4886840df7b9f12a85dfb7b169669 /engines/wintermute/Sys | |
parent | ae714dc076def8efb6448c1d39058fbabb0e096f (diff) | |
download | scummvm-rg350-e49b43f7a9bbbe7bda7c4107b0279bf2add1aaaa.tar.gz scummvm-rg350-e49b43f7a9bbbe7bda7c4107b0279bf2add1aaaa.tar.bz2 scummvm-rg350-e49b43f7a9bbbe7bda7c4107b0279bf2add1aaaa.zip |
WINTERMUTE: Fix almost all of the memory leaks that were left.
Diffstat (limited to 'engines/wintermute/Sys')
-rw-r--r-- | engines/wintermute/Sys/SysClassRegistry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/Sys/SysClassRegistry.cpp b/engines/wintermute/Sys/SysClassRegistry.cpp index 5ac5cb2ccf..540008571f 100644 --- a/engines/wintermute/Sys/SysClassRegistry.cpp +++ b/engines/wintermute/Sys/SysClassRegistry.cpp @@ -214,7 +214,7 @@ HRESULT CSysClassRegistry::loadTable(CBGame *Game, CBPersistMgr *persistMgr) { Game->DisplayContentSimple();
Game->_renderer->flip();
- char *className = persistMgr->getString();
+ Common::String className = persistMgr->getStringObj();
NameMap::iterator mapIt = _nameMap.find(className);
if (mapIt != _nameMap.end())(*mapIt)._value->loadTable(Game, persistMgr);
}
|