mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 01:08:25 +00:00
FULLPIPE: Fix mismatched malloc/free
This commit is contained in:
parent
c585b66b36
commit
080bd94f2e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user