aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/fullpipe/gfx.cpp')
-rw-r--r--engines/fullpipe/gfx.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index e46ab93e14..145f4e87b1 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -45,6 +45,9 @@ Background::Background() {
}
Background::~Background() {
+ for (uint i = 1; i < _picObjList.size(); i++)
+ delete _picObjList[i];
+
_picObjList.clear();
for (int i = 0; i < _bigPictureArray1Count; i++) {