mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 16:03:24 +00:00
STARK: Fix memory leak
This commit is contained in:
parent
ad6dab7bfd
commit
4e8ce049a1
@ -75,7 +75,6 @@ StarkEngine::~StarkEngine() {
|
||||
delete StarkServices::instance().dialogPlayer;
|
||||
delete StarkServices::instance().randomSource;
|
||||
delete StarkServices::instance().scene;
|
||||
delete StarkServices::instance().gfx;
|
||||
delete StarkServices::instance().staticProvider;
|
||||
delete StarkServices::instance().resourceProvider;
|
||||
delete StarkServices::instance().global;
|
||||
@ -86,6 +85,7 @@ StarkEngine::~StarkEngine() {
|
||||
delete StarkServices::instance().settings;
|
||||
delete StarkServices::instance().gameChapter;
|
||||
delete StarkServices::instance().gameMessage;
|
||||
delete StarkServices::instance().gfx;
|
||||
|
||||
StarkServices::destroy();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user