aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2009-09-22 17:53:00 +0000
committerJohannes Schickel2009-09-22 17:53:00 +0000
commitebde95b3d85ffd0cfc93d84a7e4cf6c75b485408 (patch)
tree004189a97cdd9a45fb6da4a9d1ded12c5d470cb5 /engines
parente591333d4b6aa60fcd58bbe0dce6d068e9258e60 (diff)
downloadscummvm-rg350-ebde95b3d85ffd0cfc93d84a7e4cf6c75b485408.tar.gz
scummvm-rg350-ebde95b3d85ffd0cfc93d84a7e4cf6c75b485408.tar.bz2
scummvm-rg350-ebde95b3d85ffd0cfc93d84a7e4cf6c75b485408.zip
Clear menu stack in FWRenderer deconstructor.
svn-id: r44264
Diffstat (limited to 'engines')
-rw-r--r--engines/cine/gfx.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/cine/gfx.cpp b/engines/cine/gfx.cpp
index 142a1f3a58..610afda492 100644
--- a/engines/cine/gfx.cpp
+++ b/engines/cine/gfx.cpp
@@ -105,6 +105,8 @@ FWRenderer::FWRenderer() : _background(NULL), _backupPal(), _cmd(""),
FWRenderer::~FWRenderer() {
delete[] _background;
delete[] _backBuffer;
+
+ clearMenuStack();
}
bool FWRenderer::initialize() {