aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-09 13:17:54 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit1f99dab5b51e88c624cdb9a7984221b06eb8ddb1 (patch)
treee357a17323e24fcaba8b98c04c20d7b48014327a
parent6428110da8274da755c6f944fa668331d444de06 (diff)
downloadscummvm-rg350-1f99dab5b51e88c624cdb9a7984221b06eb8ddb1.tar.gz
scummvm-rg350-1f99dab5b51e88c624cdb9a7984221b06eb8ddb1.tar.bz2
scummvm-rg350-1f99dab5b51e88c624cdb9a7984221b06eb8ddb1.zip
DM: Fix double delete[] of DMEngine::_savedScreenForOpenEntranceDoor
-rw-r--r--engines/dm/dm.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index ab9ef815a8..3eb323125a 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -731,6 +731,7 @@ void DMEngine::f438_STARTEND_OpenEntranceDoors() {
f22_delay(3);
}
delete[] _savedScreenForOpenEntranceDoors;
+ _savedScreenForOpenEntranceDoors = nullptr;
}