diff options
author | Einar Johan Trøan Sømåen | 2012-07-19 18:11:23 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-19 18:11:23 +0200 |
commit | 73feff111a98715e87f8e3d72232185650acdc7d (patch) | |
tree | 94d6b366c05bea51d1b34c70c3b371c8ff16fa2b /engines/wintermute/Base/BPersistMgr.cpp | |
parent | 9c0aff9d8b85e2330fd26db391db15d4f61b01ce (diff) | |
download | scummvm-rg350-73feff111a98715e87f8e3d72232185650acdc7d.tar.gz scummvm-rg350-73feff111a98715e87f8e3d72232185650acdc7d.tar.bz2 scummvm-rg350-73feff111a98715e87f8e3d72232185650acdc7d.zip |
WINTERMUTE: Correct 2 savegame-issues
Diffstat (limited to 'engines/wintermute/Base/BPersistMgr.cpp')
-rw-r--r-- | engines/wintermute/Base/BPersistMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/Base/BPersistMgr.cpp b/engines/wintermute/Base/BPersistMgr.cpp index 46c2048ac7..c7c3661032 100644 --- a/engines/wintermute/Base/BPersistMgr.cpp +++ b/engines/wintermute/Base/BPersistMgr.cpp @@ -404,9 +404,9 @@ Common::String CBPersistMgr::getStringObj() { char *ret = new char[len + 1];
_loadStream->read(ret, len);
ret[len] = '\0';
- delete[] ret;
Common::String retString = ret;
+ delete[] ret;
if (retString == "(null)") {
retString = "";
|