Permalink
Browse files

GRAPHICS: MACGUI: fixed mem leak in MacText

  • Loading branch information...
whiterandrek committed Aug 5, 2018
1 parent 47130ec commit bb995bc871e0644f3368057a0138a85c4ccdb51a
Showing with 2 additions and 1 deletion.
  1. +2 −1 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;
}

0 comments on commit bb995bc

Please sign in to comment.