aboutsummaryrefslogtreecommitdiff
path: root/engines/dm
diff options
context:
space:
mode:
authorBendegúz Nagy2017-01-20 21:22:50 +0100
committerBendegúz Nagy2017-01-20 21:22:50 +0100
commit0eb20223f4d007f74361e53ac10b63b62a9c46b2 (patch)
treea8e10eef4fb2aff3bd44c38e8032dad52ebd2c68 /engines/dm
parent0c428e4fd7abf9cd0b0570f004d6b7347027943a (diff)
downloadscummvm-rg350-0eb20223f4d007f74361e53ac10b63b62a9c46b2.tar.gz
scummvm-rg350-0eb20223f4d007f74361e53ac10b63b62a9c46b2.tar.bz2
scummvm-rg350-0eb20223f4d007f74361e53ac10b63b62a9c46b2.zip
Properly delete leaking DisplayMan::_tmpBitmap
Diffstat (limited to 'engines/dm')
-rw-r--r--engines/dm/gfx.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/dm/gfx.cpp b/engines/dm/gfx.cpp
index 46d90366cd..9ff1810f83 100644
--- a/engines/dm/gfx.cpp
+++ b/engines/dm/gfx.cpp
@@ -446,6 +446,7 @@ DisplayMan::~DisplayMan() {
delete[] _packedItemPos;
delete[] _packedBitmaps;
delete[] _bitmapScreen;
+ delete[] _tmpBitmap;
if (_bitmaps) {
delete[] _bitmaps[0];
delete[] _bitmaps;