Skip to content

Commit

Permalink
FULLPIPE: Plug several memory leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Dec 12, 2016
1 parent 1ec6860 commit 1a4580d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engines/fullpipe/fullpipe.cpp
Expand Up @@ -214,6 +214,9 @@ FullpipeEngine::~FullpipeEngine() {
delete _soundStream2;
delete _soundStream3;
delete _soundStream4;
delete _floaters;
delete _aniHandler;
delete _behaviorManager;
}

void FullpipeEngine::initialize() {
Expand Down
2 changes: 2 additions & 0 deletions engines/fullpipe/gfx.cpp
Expand Up @@ -55,6 +55,8 @@ Background::~Background() {
}

free(_bigPictureArray);

free(_bgname);
}

bool Background::load(MfcArchive &file) {
Expand Down

0 comments on commit 1a4580d

Please sign in to comment.