aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/dispman.cpp
diff options
context:
space:
mode:
authorStrangerke2015-12-20 16:09:20 +0100
committerWillem Jan Palenstijn2015-12-23 21:35:31 +0100
commit7e047b45b782a31c2d902136ef57218f344ebc3f (patch)
tree3a8b33dacbb7aed816b3b8247dd302c4b9b5448c /engines/lab/dispman.cpp
parentaf8f87d55d9d16bc3ce94fb6276cb79a10de3008 (diff)
downloadscummvm-rg350-7e047b45b782a31c2d902136ef57218f344ebc3f.tar.gz
scummvm-rg350-7e047b45b782a31c2d902136ef57218f344ebc3f.tar.bz2
scummvm-rg350-7e047b45b782a31c2d902136ef57218f344ebc3f.zip
LAB: Fix a delete[] pointed out by eriktorbjorn
Diffstat (limited to 'engines/lab/dispman.cpp')
-rw-r--r--engines/lab/dispman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/dispman.cpp b/engines/lab/dispman.cpp
index 32c33885af..6ed3dcd656 100644
--- a/engines/lab/dispman.cpp
+++ b/engines/lab/dispman.cpp
@@ -108,7 +108,7 @@ void DisplayMan::readPict(Common::String filename, bool playOnce, bool onlyDiffD
}
void DisplayMan::freePict() {
- delete _curBitmap;
+ delete[] _curBitmap;
_curBitmap = nullptr;
}