[Scummvm-git-logs] scummvm master -> bb995bc871e0644f3368057a0138a85c4ccdb51a

whiterandrek whiterandrek at gmail.com
Sun Aug 5 22:08:08 CEST 2018


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:
bb995bc871 GRAPHICS: MACGUI: fixed mem leak in MacText


Commit: bb995bc871e0644f3368057a0138a85c4ccdb51a
    https://github.com/scummvm/scummvm/commit/bb995bc871e0644f3368057a0138a85c4ccdb51a
Author: Andrei Prykhodko (whiterandrek at gmail.com)
Date: 2018-08-05T23:07:55+03:00

Commit Message:
GRAPHICS: MACGUI: fixed mem leak in MacText

Changed paths:
    graphics/macgui/mactext.cpp


diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 69e2dce..58017d9 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -47,7 +47,8 @@ const Common::String MacFontRun::toString() {
 			(palinfo3 >> 8) & 0xff, palinfo3 & 0xff);
 }
 
-MacText::~MacText(){
+MacText::~MacText() {
+	delete _surface;
 	delete _macFont;
 }
 





More information about the Scummvm-git-logs mailing list