HUGO: Fix leak (thanks digitall)

svn-id: r55789
This commit is contained in:
Arnaud Boutonné 2011-02-05 14:45:36 +00:00
parent bc77c8534c
commit e990453a4d

View File

@ -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) {