aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/macgui/mactextwindow.cpp2
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);
}