aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/saga/sthread.cpp1
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;