Skip to content

Commit

Permalink
FULLPIPE: Fix mismatched malloc/free
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Aug 31, 2016
1 parent c585b66 commit 080bd94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/fullpipe/gameloader.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 080bd94

Please sign in to comment.