diff options
author | Martin Kiewitz | 2015-06-15 22:04:59 +0200 |
---|---|---|
committer | Martin Kiewitz | 2015-06-15 22:04:59 +0200 |
commit | 9ab099620fe9e38c492425ce03bbbb5831026c50 (patch) | |
tree | 427a41bc8c0c91a85605c8113984f98c8508d01f | |
parent | 5a12026ae8e9c6d46c322c642c2a7a54a9b51c88 (diff) | |
download | scummvm-rg350-9ab099620fe9e38c492425ce03bbbb5831026c50.tar.gz scummvm-rg350-9ab099620fe9e38c492425ce03bbbb5831026c50.tar.bz2 scummvm-rg350-9ab099620fe9e38c492425ce03bbbb5831026c50.zip |
SHERLOCK: free map graphic data CID 1306689
-rw-r--r-- | engines/sherlock/scalpel/scalpel_map.cpp | 3 |
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; } |