GRAPHICS: MACGUI: fixed memory leaks in MacTextWindow

This commit is contained in:
Andrei Prykhodko 2018-07-30 07:03:00 +03:00
parent 459f26fcaf
commit ed384a0deb

View File

@ -108,7 +108,9 @@ void MacTextWindow::clearText() {
}
MacTextWindow::~MacTextWindow() {
delete _cursorRect;
delete _cursorSurface;
delete _mactext;
g_system->getTimerManager()->removeTimerProc(&cursorTimerHandler);
}