diff options
author | Johannes Schickel | 2010-08-02 23:03:04 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-08-02 23:03:04 +0000 |
commit | a76f5449bc741d35a76ed9173350b3c18dbb87bd (patch) | |
tree | dd61ded38587f0fc8c9fb8385fe5afbf5a376085 /engines | |
parent | 92b0b384eaea0540bf7c06652d799b616ebf4c3c (diff) | |
download | scummvm-rg350-a76f5449bc741d35a76ed9173350b3c18dbb87bd.tar.gz scummvm-rg350-a76f5449bc741d35a76ed9173350b3c18dbb87bd.tar.bz2 scummvm-rg350-a76f5449bc741d35a76ed9173350b3c18dbb87bd.zip |
SCI: Yet another slight leak fix.
svn-id: r51670
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/savegame.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index 0b0072432f..bb9ac0ba20 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -769,6 +769,7 @@ void gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) { g_sci->_soundCmd->reconstructPlayList(meta.savegame_version); // Message state: + delete s->_msgState; s->_msgState = new MessageState(s->_segMan); s->abortScriptProcessing = kAbortLoadGame; |