aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/messages.cpp b/engines/fullpipe/messages.cpp
index e332728f5b..c8656906e0 100644
--- a/engines/fullpipe/messages.cpp
+++ b/engines/fullpipe/messages.cpp
@@ -684,7 +684,7 @@ int GlobalMessageQueueList::compact() {
for (uint i = 0; i < size();) {
if (_storage[i]->_isFinished) {
disableQueueById(_storage[i]->_id);
- remove_at(i);
+ delete remove_at(i);
} else {
if ((uint)_storage[i]->_id < size() + 2)
useList[_storage[i]->_id] = 1;