diff options
author | David Turner | 2011-01-25 08:24:57 +0000 |
---|---|---|
committer | David Turner | 2011-01-25 08:24:57 +0000 |
commit | b52859323c68fa87a167fed8af5c8f3f945e6cd8 (patch) | |
tree | da7256517a685fc555217ee8ab871a7fea3b446d /engines/lastexpress/data/animation.cpp | |
parent | 6400659ead45000485ddfbeb22ba9d48f1b7bde2 (diff) | |
download | scummvm-rg350-b52859323c68fa87a167fed8af5c8f3f945e6cd8.tar.gz scummvm-rg350-b52859323c68fa87a167fed8af5c8f3f945e6cd8.tar.bz2 scummvm-rg350-b52859323c68fa87a167fed8af5c8f3f945e6cd8.zip |
LASTEXPRESS: Fixed Memory Leak in Subtitles.
Also, fixed minor uninitialised read in animation event polling.
svn-id: r55524
Diffstat (limited to 'engines/lastexpress/data/animation.cpp')
-rw-r--r-- | engines/lastexpress/data/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/data/animation.cpp b/engines/lastexpress/data/animation.cpp index d105a34f8c..7288889f09 100644 --- a/engines/lastexpress/data/animation.cpp +++ b/engines/lastexpress/data/animation.cpp @@ -286,7 +286,7 @@ void Animation::play() { g_engine->_system->delayMillis(20); // Handle right-click to interrupt animations - Common::Event ev; + Common::Event ev = Common::Event(); while (g_engine->getEventManager()->pollEvent(ev)) { if (ev.type == Common::EVENT_RBUTTONUP) { // Stop audio |