From 9ab099620fe9e38c492425ce03bbbb5831026c50 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Mon, 15 Jun 2015 22:04:59 +0200 Subject: SHERLOCK: free map graphic data CID 1306689 --- engines/sherlock/scalpel/scalpel_map.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; } -- cgit v1.2.3