diff options
-rw-r--r-- | engines/lure/surface.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp index fe8d86d609..81ed955e5b 100644 --- a/engines/lure/surface.cpp +++ b/engines/lure/surface.cpp @@ -500,6 +500,8 @@ void Dialog::show(const char *text) { screen.update(); mouse.cursorOn(); + + delete s; } void Dialog::show(uint16 stringId, const char *hotspotName, const char *characterName) { @@ -841,6 +843,7 @@ bool SaveRestoreDialog::show(bool saveDialog) { doneFlag = true; } + delete s; Sound.resume(); if (doneFlag) { |