aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel
diff options
context:
space:
mode:
authorMartin Kiewitz2015-06-15 22:04:59 +0200
committerMartin Kiewitz2015-06-15 22:04:59 +0200
commit9ab099620fe9e38c492425ce03bbbb5831026c50 (patch)
tree427a41bc8c0c91a85605c8113984f98c8508d01f /engines/sherlock/scalpel
parent5a12026ae8e9c6d46c322c642c2a7a54a9b51c88 (diff)
downloadscummvm-rg350-9ab099620fe9e38c492425ce03bbbb5831026c50.tar.gz
scummvm-rg350-9ab099620fe9e38c492425ce03bbbb5831026c50.tar.bz2
scummvm-rg350-9ab099620fe9e38c492425ce03bbbb5831026c50.zip
SHERLOCK: free map graphic data CID 1306689
Diffstat (limited to 'engines/sherlock/scalpel')
-rw-r--r--engines/sherlock/scalpel/scalpel_map.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sherlock/scalpel/scalpel_map.cpp b/engines/sherlock/scalpel/scalpel_map.cpp
index 08013df900..bde56c874d 100644
--- a/engines/sherlock/scalpel/scalpel_map.cpp
+++ b/engines/sherlock/scalpel/scalpel_map.cpp
@@ -287,6 +287,9 @@ int ScalpelMap::show() {
// Reset font
screen.setFont(oldFont);
+ // Free map graphic
+ delete bigMap;
+
_active = false;
return _charPoint;
}