[Scummvm-cvs-logs] scummvm master -> 98fc589434b18f85a776fb31f1784c540e1ae687
sev-
sev at scummvm.org
Mon Apr 14 21:48:22 CEST 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
98fc589434 FULLPIPE: Implement Background::~Background()
Commit: 98fc589434b18f85a776fb31f1784c540e1ae687
https://github.com/scummvm/scummvm/commit/98fc589434b18f85a776fb31f1784c540e1ae687
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2014-04-14T22:47:38+03:00
Commit Message:
FULLPIPE: Implement Background::~Background()
Changed paths:
engines/fullpipe/gfx.cpp
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index 137af86..26ac4ab 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -90,7 +90,16 @@ Background::Background() {
}
Background::~Background() {
- warning("STUB: Background::~Background()");
+ _picObjList.clear();
+
+ for (int i = 0; i < _bigPictureArray1Count; i++) {
+ for (int j = 0; j < _bigPictureArray2Count; j++)
+ delete _bigPictureArray[i][j];
+
+ free(_bigPictureArray[i]);
+ }
+
+ free(_bigPictureArray);
}
bool Background::load(MfcArchive &file) {
More information about the Scummvm-git-logs
mailing list