aboutsummaryrefslogtreecommitdiff
path: root/engines/wage
diff options
context:
space:
mode:
authorEugene Sandulenko2016-01-06 23:40:41 +0100
committerEugene Sandulenko2016-01-06 23:40:59 +0100
commit4ba3da8b9b495d27bd486c78e469782fa9f75344 (patch)
tree86de444ff2e36f82f3064613f086ad0c57448206 /engines/wage
parentac0be3401c7fc68da523d52e3757cbfede18c716 (diff)
downloadscummvm-rg350-4ba3da8b9b495d27bd486c78e469782fa9f75344.tar.gz
scummvm-rg350-4ba3da8b9b495d27bd486c78e469782fa9f75344.tar.bz2
scummvm-rg350-4ba3da8b9b495d27bd486c78e469782fa9f75344.zip
WAGE: Plug memory leak
Diffstat (limited to 'engines/wage')
-rw-r--r--engines/wage/gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/wage/gui.cpp b/engines/wage/gui.cpp
index a50c4856bb..668a20f2f4 100644
--- a/engines/wage/gui.cpp
+++ b/engines/wage/gui.cpp
@@ -175,6 +175,7 @@ Gui::Gui(WageEngine *engine) {
}
Gui::~Gui() {
+ _screen.free();
g_system->getTimerManager()->removeTimerProc(&cursor_timer_handler);
}