[Scummvm-git-logs] scummvm master -> 01d99a5ddb84e99eea53a2ac67811338b63b24d1

eriktorbjorn eriktorbjorn at telia.com
Thu Sep 8 17:50:21 CEST 2016


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:
01d99a5ddb FULLPIPE: Free contents of Bitmap surface when deleting bitmap


Commit: 01d99a5ddb84e99eea53a2ac67811338b63b24d1
    https://github.com/scummvm/scummvm/commit/01d99a5ddb84e99eea53a2ac67811338b63b24d1
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2016-09-08T17:49:51+02:00

Commit Message:
FULLPIPE: Free contents of Bitmap surface when deleting bitmap

At the moment, it seems like bitmaps aren't ever deleted though?

Changed paths:
    engines/fullpipe/gfx.cpp



diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index de0faf0..1ef5c47 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -790,6 +790,7 @@ Bitmap::~Bitmap() {
 	if (_pixels)
 		free(_pixels);
 
+	_surface->free();
 	delete _surface;
 
 	_pixels = 0;





More information about the Scummvm-git-logs mailing list