mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 09:21:08 +00:00
HUGO: Fix leak (thanks digitall)
svn-id: r55789
This commit is contained in:
parent
bc77c8534c
commit
e990453a4d
@ -146,6 +146,7 @@ HugoEngine::~HugoEngine() {
|
||||
delete _intro;
|
||||
delete _scheduler;
|
||||
delete _file;
|
||||
delete _text;
|
||||
|
||||
DebugMan.clearAllDebugChannels();
|
||||
delete _console;
|
||||
@ -319,6 +320,7 @@ void HugoEngine::runMachine() {
|
||||
g_system->delayMillis(5);
|
||||
_curTime = g_system->getMillis();
|
||||
}
|
||||
|
||||
_lastTime = _curTime;
|
||||
|
||||
switch (gameStatus.viewState) {
|
||||
|
Loading…
Reference in New Issue
Block a user