AGI: Fixed two memory leaks when returning to launcher from AGI Engine

svn-id: r32236
This commit is contained in:
Christopher Page 2008-05-24 00:08:13 +00:00
parent 9e4115a3bf
commit e41bd1eae8

View File

@ -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;