aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/macgui/mactext.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 69e2dce932..58017d9c45 100644
--- a/graphics/macgui/mactext.cpp
+++ b/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;
}