Skip to content

Commit

Permalink
Properly delete leaking DisplayMan::_tmpBitmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Bendegúz Nagy committed Jan 20, 2017
1 parent 0c428e4 commit 0eb2022
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/dm/gfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ DisplayMan::~DisplayMan() {
delete[] _packedItemPos;
delete[] _packedBitmaps;
delete[] _bitmapScreen;
delete[] _tmpBitmap;
if (_bitmaps) {
delete[] _bitmaps[0];
delete[] _bitmaps;
Expand Down

0 comments on commit 0eb2022

Please sign in to comment.