diff options
author | Eugene Sandulenko | 2016-12-12 20:05:14 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-12-12 20:05:14 +0100 |
commit | 1a4580d83fb87719b699e0919bafb581203f80ee (patch) | |
tree | b089d3a615d349190271553428019110f8f0f973 /engines | |
parent | 1ec6860c0f818ae743880ebcb9ac651b66f2607c (diff) | |
download | scummvm-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.cpp | 3 | ||||
-rw-r--r-- | engines/fullpipe/gfx.cpp | 2 |
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) { |