mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
AGI: Fixed two memory leaks when returning to launcher from AGI Engine
svn-id: r32236
This commit is contained in:
parent
9e4115a3bf
commit
e41bd1eae8
@ -766,12 +766,15 @@ AgiEngine::~AgiEngine() {
|
||||
}
|
||||
|
||||
agiDeinit();
|
||||
delete _loader;
|
||||
_sound->deinitSound();
|
||||
delete _sound;
|
||||
_gfx->deinitVideo();
|
||||
delete _sprites;
|
||||
delete _picture;
|
||||
free(_game.sbufOrig);
|
||||
_gfx->deinitMachine();
|
||||
delete _gfx;
|
||||
delete _rnd;
|
||||
delete _console;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user