[Scummvm-cvs-logs] scummvm master -> fd14f53a3b80b6d26425e3c7b724f76c7d7ac6d8

m-kiewitz m_kiewitz at users.sourceforge.net
Fri Jun 12 23:14:25 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:
fd14f53a3b SHERLOCK: 3DO: font support: free memory


Commit: fd14f53a3b80b6d26425e3c7b724f76c7d7ac6d8
    https://github.com/scummvm/scummvm/commit/fd14f53a3b80b6d26425e3c7b724f76c7d7ac6d8
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2015-06-12T23:14:11+02:00

Commit Message:
SHERLOCK: 3DO: font support: free memory

Changed paths:
    engines/sherlock/image_file.cpp



diff --git a/engines/sherlock/image_file.cpp b/engines/sherlock/image_file.cpp
index 47fe387..660c38e 100644
--- a/engines/sherlock/image_file.cpp
+++ b/engines/sherlock/image_file.cpp
@@ -907,6 +907,9 @@ void ImageFile3DO::loadFont(Common::SeekableReadStream &stream) {
 			push_back(imageFrame);
 		}
 	}
+
+	delete[] bitsTablePtr;
+	delete[] widthTablePtr;
 }
 
 } // End of namespace Sherlock






More information about the Scummvm-git-logs mailing list