diff options
author | Filippos Karapetis | 2009-04-11 12:55:22 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-04-11 12:55:22 +0000 |
commit | bb012ee082567990d883d0a387e83d7736b5cdba (patch) | |
tree | d7bb47dc29e1c50c7240fa1eb98cbc19fbd704df /engines/saga | |
parent | 448a98b8859c222155399462c646c10592ffe2e4 (diff) | |
download | scummvm-rg350-bb012ee082567990d883d0a387e83d7736b5cdba.tar.gz scummvm-rg350-bb012ee082567990d883d0a387e83d7736b5cdba.tar.bz2 scummvm-rg350-bb012ee082567990d883d0a387e83d7736b5cdba.zip |
Plugged memory leak introduced with rev #39934
svn-id: r39935
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/sthread.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/saga/sthread.cpp b/engines/saga/sthread.cpp index 26942d3445..b6b0df9cc9 100644 --- a/engines/saga/sthread.cpp +++ b/engines/saga/sthread.cpp @@ -121,6 +121,7 @@ void Script::executeThreads(uint msec) { thread->_flags |= kTFlagAborted; ++threadIterator; } else { + delete *threadIterator; threadIterator = _threadList.erase(threadIterator); } continue; |