[Scummvm-git-logs] scummvm master -> 3653f03d30a7610a2648485f1f4f5b3de90eb8ad
sev-
sev at scummvm.org
Mon Dec 12 20:59:59 CET 2016
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1a4580d83f FULLPIPE: Plug several memory leaks
3653f03d30 FULLPIPE: Plug more memory leaks
Commit: 1a4580d83fb87719b699e0919bafb581203f80ee
https://github.com/scummvm/scummvm/commit/1a4580d83fb87719b699e0919bafb581203f80ee
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-12-12T20:05:14+01:00
Commit Message:
FULLPIPE: Plug several memory leaks
Changed paths:
engines/fullpipe/fullpipe.cpp
engines/fullpipe/gfx.cpp
diff --git a/engines/fullpipe/fullpipe.cpp b/engines/fullpipe/fullpipe.cpp
index 10c1744..41a4251 100644
--- a/engines/fullpipe/fullpipe.cpp
+++ b/engines/fullpipe/fullpipe.cpp
@@ -214,6 +214,9 @@ FullpipeEngine::~FullpipeEngine() {
delete _soundStream2;
delete _soundStream3;
delete _soundStream4;
+ delete _floaters;
+ delete _aniHandler;
+ delete _behaviorManager;
}
void FullpipeEngine::initialize() {
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index 4dec4b6..573de78 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -55,6 +55,8 @@ Background::~Background() {
}
free(_bigPictureArray);
+
+ free(_bgname);
}
bool Background::load(MfcArchive &file) {
Commit: 3653f03d30a7610a2648485f1f4f5b3de90eb8ad
https://github.com/scummvm/scummvm/commit/3653f03d30a7610a2648485f1f4f5b3de90eb8ad
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-12-12T20:19:31+01:00
Commit Message:
FULLPIPE: Plug more memory leaks
Changed paths:
engines/fullpipe/gfx.cpp
engines/fullpipe/input.cpp
engines/fullpipe/statics.cpp
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index 573de78..ac306bd 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -603,6 +603,8 @@ void Picture::getDibInfo() {
_bitmap->decode((int32 *)(_paletteData ? _paletteData : g_fp->_globalPalette));
_bitmap->_pixels = 0;
+
+ delete s;
}
Bitmap *Picture::getPixelData() {
diff --git a/engines/fullpipe/input.cpp b/engines/fullpipe/input.cpp
index 5573562..55bc217 100644
--- a/engines/fullpipe/input.cpp
+++ b/engines/fullpipe/input.cpp
@@ -56,6 +56,9 @@ InputController::~InputController() {
removeMessageHandler(126, -1);
g_fp->_inputController = 0;
+
+ for (int i = 0; i < _cursorsArray.size(); i++)
+ delete _cursorsArray[i];
}
void InputController::setInputDisabled(bool state) {
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp
index ece4f43..ab4e757 100644
--- a/engines/fullpipe/statics.cpp
+++ b/engines/fullpipe/statics.cpp
@@ -1539,7 +1539,7 @@ Movement::~Movement() {
for (uint i = 0; i < _dynamicPhases.size(); i++)
delete _framePosOffsets[i];
- if (!_currMovement ) {
+ if (!_currMovement) {
if (_updateFlag1)
_dynamicPhases.remove_at(0);
More information about the Scummvm-git-logs
mailing list