aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2016-12-12 20:05:14 +0100
committerEugene Sandulenko2016-12-12 20:05:14 +0100
commit1a4580d83fb87719b699e0919bafb581203f80ee (patch)
treeb089d3a615d349190271553428019110f8f0f973 /engines
parent1ec6860c0f818ae743880ebcb9ac651b66f2607c (diff)
downloadscummvm-rg350-1a4580d83fb87719b699e0919bafb581203f80ee.tar.gz
scummvm-rg350-1a4580d83fb87719b699e0919bafb581203f80ee.tar.bz2
scummvm-rg350-1a4580d83fb87719b699e0919bafb581203f80ee.zip
FULLPIPE: Plug several memory leaks
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/fullpipe.cpp3
-rw-r--r--engines/fullpipe/gfx.cpp2
2 files changed, 5 insertions, 0 deletions
diff --git a/engines/fullpipe/fullpipe.cpp b/engines/fullpipe/fullpipe.cpp
index 10c1744dd9..41a4251fe9 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 4dec4b640c..573de78b98 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) {