diff options
Diffstat (limited to 'engines/sherlock/scalpel/scalpel.cpp')
-rw-r--r-- | engines/sherlock/scalpel/scalpel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp index 2bb90f7af5..b3531e86bb 100644 --- a/engines/sherlock/scalpel/scalpel.cpp +++ b/engines/sherlock/scalpel/scalpel.cpp @@ -1229,6 +1229,8 @@ void ScalpelEngine::showScummVMSaveDialog() { saveGameState(slot, desc); } + + delete dialog; } void ScalpelEngine::showScummVMRestoreDialog() { @@ -1238,6 +1240,8 @@ void ScalpelEngine::showScummVMRestoreDialog() { if (slot >= 0) { loadGameState(slot); } + + delete dialog; } bool ScalpelEngine::play3doMovie(const Common::String &filename, const Common::Point &pos, bool halfSize) { |