aboutsummaryrefslogtreecommitdiff
path: root/engines/lure
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lure')
-rw-r--r--engines/lure/surface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp
index 4a087fbf36..c4ee0f7dad 100644
--- a/engines/lure/surface.cpp
+++ b/engines/lure/surface.cpp
@@ -1137,7 +1137,7 @@ bool RestartRestoreDialog::show() {
int highlightedButton = -1;
if (!restartFlag) {
- Memory::dealloc(firstSave);
+ delete firstSave;
// Get the correct button bounds record to use
const RestartRecord *btnRecord = &buttonBounds[0];