aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/gfx.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-12-12 22:35:48 +0100
committerEugene Sandulenko2016-12-12 22:36:07 +0100
commit64a1c2f867138106c1226865fe8f6c595fe5ef1d (patch)
tree96752152231cce7155c37ff270e1a89ed209ac8a /engines/fullpipe/gfx.cpp
parent4b4b8a281b67bf5e739e376ec0a34d2bedbba4d7 (diff)
downloadscummvm-rg350-64a1c2f867138106c1226865fe8f6c595fe5ef1d.tar.gz
scummvm-rg350-64a1c2f867138106c1226865fe8f6c595fe5ef1d.tar.bz2
scummvm-rg350-64a1c2f867138106c1226865fe8f6c595fe5ef1d.zip
FULLPIPE: Plug another leak
Diffstat (limited to 'engines/fullpipe/gfx.cpp')
-rw-r--r--engines/fullpipe/gfx.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index ac306bda8b..e46ab93e14 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -486,6 +486,7 @@ void Picture::freePicture() {
}
if (_bitmap) {
+ delete _bitmap;
_bitmap = 0;
_data = 0;
}