[Scummvm-git-logs] scummvm master -> 1f2be2bb40c81da884b8d437af72771c6c13157e

sev- sev at scummvm.org
Thu Nov 10 23:04:09 CET 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:
1f2be2bb40 DIRECTOR: Plug memory leak


Commit: 1f2be2bb40c81da884b8d437af72771c6c13157e
    https://github.com/scummvm/scummvm/commit/1f2be2bb40c81da884b8d437af72771c6c13157e
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2016-11-10T23:03:51+01:00

Commit Message:
DIRECTOR: Plug memory leak

Changed paths:
    engines/director/images.cpp



diff --git a/engines/director/images.cpp b/engines/director/images.cpp
index cd8223a..0ec84af 100644
--- a/engines/director/images.cpp
+++ b/engines/director/images.cpp
@@ -41,6 +41,7 @@ DIBDecoder::~DIBDecoder() {
 }
 
 void DIBDecoder::destroy() {
+	delete _surface;
 	_surface = 0;
 
 	delete[] _palette;





More information about the Scummvm-git-logs mailing list