[Scummvm-cvs-logs] scummvm master -> 9ab099620fe9e38c492425ce03bbbb5831026c50

m-kiewitz m_kiewitz at users.sourceforge.net
Mon Jun 15 22:05:06 CEST 2015


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
9ab099620f SHERLOCK: free map graphic data CID 1306689


Commit: 9ab099620fe9e38c492425ce03bbbb5831026c50
    https://github.com/scummvm/scummvm/commit/9ab099620fe9e38c492425ce03bbbb5831026c50
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2015-06-15T22:04:59+02:00

Commit Message:
SHERLOCK: free map graphic data CID 1306689

Changed paths:
    engines/sherlock/scalpel/scalpel_map.cpp



diff --git a/engines/sherlock/scalpel/scalpel_map.cpp b/engines/sherlock/scalpel/scalpel_map.cpp
index 08013df..bde56c8 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;
 }






More information about the Scummvm-git-logs mailing list