aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/messages.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/messages.cpp b/engines/fullpipe/messages.cpp
index 4abf2ef56f..6af3f731df 100644
--- a/engines/fullpipe/messages.cpp
+++ b/engines/fullpipe/messages.cpp
@@ -779,8 +779,8 @@ bool chainQueue(int queueId, int flags) {
nmq->_flags |= flags;
- if (!mq->chain(0)) {
- delete mq;
+ if (!nmq->chain(0)) {
+ delete nmq;
return false;
}