diff options
author | Andrei Prykhodko | 2018-07-30 07:03:00 +0300 |
---|---|---|
committer | Andrei Prykhodko | 2018-07-30 07:03:00 +0300 |
commit | ed384a0deb93e8916313569a60967e1a294961fb (patch) | |
tree | a604a3c88d1f551cda09c73597161000fd46406f /graphics/macgui | |
parent | 459f26fcaf2fb28933c2f96d72f8eae00743e59d (diff) | |
download | scummvm-rg350-ed384a0deb93e8916313569a60967e1a294961fb.tar.gz scummvm-rg350-ed384a0deb93e8916313569a60967e1a294961fb.tar.bz2 scummvm-rg350-ed384a0deb93e8916313569a60967e1a294961fb.zip |
GRAPHICS: MACGUI: fixed memory leaks in MacTextWindow
Diffstat (limited to 'graphics/macgui')
-rw-r--r-- | graphics/macgui/mactextwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp index 8aabaed125..0ea311aa28 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); } |