[Scummvm-git-logs] scummvm master -> 371adf9ea64f0457cd14032b839abb2b5446c79c

sev- sev at scummvm.org
Mon Jan 23 23:58:19 CET 2017


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:
371adf9ea6 GRAPHICS: Stop leaking memory. MacResMan deletes stream


Commit: 371adf9ea64f0457cd14032b839abb2b5446c79c
    https://github.com/scummvm/scummvm/commit/371adf9ea64f0457cd14032b839abb2b5446c79c
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-01-23T23:57:38+01:00

Commit Message:
GRAPHICS: Stop leaking memory. MacResMan deletes stream

Changed paths:
    graphics/macgui/macfontmanager.cpp


diff --git a/graphics/macgui/macfontmanager.cpp b/graphics/macgui/macfontmanager.cpp
index 14c25ae..a717253 100644
--- a/graphics/macgui/macfontmanager.cpp
+++ b/graphics/macgui/macfontmanager.cpp
@@ -214,8 +214,7 @@ void MacFontManager::loadFonts() {
 			}
 		}
 
-		delete stream;
-		//delete fontFile;
+		delete fontFile;
 	}
 
 	_builtInFonts = false;





More information about the Scummvm-git-logs mailing list