diff options
author | Willem Jan Palenstijn | 2013-04-15 21:40:11 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-04-15 21:40:11 +0200 |
commit | 2c9fe1d2c6cdfa8752e2285a245d27fb6cf1e0e2 (patch) | |
tree | e2631a148a518b3a445144d89e64c87dbbe432b1 /engines/sci/engine | |
parent | f5a6ad6ab925ec152590a1dbb51f204f116648a1 (diff) | |
download | scummvm-rg350-2c9fe1d2c6cdfa8752e2285a245d27fb6cf1e0e2.tar.gz scummvm-rg350-2c9fe1d2c6cdfa8752e2285a245d27fb6cf1e0e2.tar.bz2 scummvm-rg350-2c9fe1d2c6cdfa8752e2285a245d27fb6cf1e0e2.zip |
SCI: Fix memory leak
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/message.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/message.cpp b/engines/sci/engine/message.cpp index 5b297ac5cf..49be25d7f1 100644 --- a/engines/sci/engine/message.cpp +++ b/engines/sci/engine/message.cpp @@ -238,6 +238,7 @@ bool MessageState::getRecord(CursorStack &stack, bool recurse, MessageRecord &re // as the text shown in this screen is very short (one-liners). // Just output an empty string here instead of showing an error. record.string = ""; + delete reader; return true; } |