diff options
author | Eugene Sandulenko | 2016-08-31 21:04:02 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-31 21:04:02 +0200 |
commit | 080bd94f2e16d7bc178f8a93109db29ce0805648 (patch) | |
tree | 75b2c57f8ba39867c26a6e2329468f7deae446a4 | |
parent | c585b66b367e3e64fc9ea8a498745c38f371c8f8 (diff) | |
download | scummvm-rg350-080bd94f2e16d7bc178f8a93109db29ce0805648.tar.gz scummvm-rg350-080bd94f2e16d7bc178f8a93109db29ce0805648.tar.bz2 scummvm-rg350-080bd94f2e16d7bc178f8a93109db29ce0805648.zip |
FULLPIPE: Fix mismatched malloc/free
-rw-r--r-- | engines/fullpipe/gameloader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/fullpipe/gameloader.cpp b/engines/fullpipe/gameloader.cpp index 1cd51036d0..270e69aa42 100644 --- a/engines/fullpipe/gameloader.cpp +++ b/engines/fullpipe/gameloader.cpp @@ -88,10 +88,10 @@ GameLoader::~GameLoader() { for (uint i = 0; i < _sc2array.size(); i++) { if (_sc2array[i]._defPicAniInfos) - delete _sc2array[i]._defPicAniInfos; + free(_sc2array[i]._defPicAniInfos); if (_sc2array[i]._picAniInfos) - delete _sc2array[i]._picAniInfos; + free(_sc2array[i]._picAniInfos); if (_sc2array[i]._motionController) delete _sc2array[i]._motionController; |