aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dreamweb')
-rw-r--r--engines/dreamweb/stubs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index 388118a2ff..a3398568c0 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -640,6 +640,8 @@ void DreamGenContext::dreamweb() {
}
done: // The engine will need some cleaner finalization, let's put it here for now
+ // FIXME: This triggers "Deallocating non existent segment" errors when
+ // quitting from a menu.
getRidOfAll();
engine->freeIcons1();
engine->freeIcons2();