diff options
author | Arnaud Boutonné | 2011-02-05 14:45:36 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2011-02-05 14:45:36 +0000 |
commit | e990453a4d675eb801f06828a3736b150ef06596 (patch) | |
tree | f3d5537311dfd6db25ac07c1749450d74ad3f7aa /engines | |
parent | bc77c8534cd83b7102b1b80f86d32bc4d61b25f7 (diff) | |
download | scummvm-rg350-e990453a4d675eb801f06828a3736b150ef06596.tar.gz scummvm-rg350-e990453a4d675eb801f06828a3736b150ef06596.tar.bz2 scummvm-rg350-e990453a4d675eb801f06828a3736b150ef06596.zip |
HUGO: Fix leak (thanks digitall)
svn-id: r55789
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hugo/hugo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/hugo/hugo.cpp b/engines/hugo/hugo.cpp index 7014b66f87..ec6f4943db 100644 --- a/engines/hugo/hugo.cpp +++ b/engines/hugo/hugo.cpp @@ -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) { |