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

whiterandrek whiterandrek at gmail.com
Mon Jul 30 06:06:52 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:
ed384a0deb GRAPHICS: MACGUI: fixed memory leaks in MacTextWindow


Commit: ed384a0deb93e8916313569a60967e1a294961fb
    https://github.com/scummvm/scummvm/commit/ed384a0deb93e8916313569a60967e1a294961fb
Author: Andrei Prykhodko (whiterandrek at gmail.com)
Date: 2018-07-30T07:03:00+03:00

Commit Message:
GRAPHICS: MACGUI: fixed memory leaks in MacTextWindow

Changed paths:
    graphics/macgui/mactextwindow.cpp


diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp
index 8aabaed..0ea311a 100644
--- a/graphics/macgui/mactextwindow.cpp
+++ b/graphics/macgui/mactextwindow.cpp
@@ -108,7 +108,9 @@ void MacTextWindow::clearText() {
 }
 
 MacTextWindow::~MacTextWindow() {
+	delete _cursorRect;
 	delete _cursorSurface;
+	delete _mactext;
 
 	g_system->getTimerManager()->removeTimerProc(&cursorTimerHandler);
 }





More information about the Scummvm-git-logs mailing list