aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/fonts/macfont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/fonts/macfont.cpp b/graphics/fonts/macfont.cpp
index 80c1dc4435..5fb354b9f2 100644
--- a/graphics/fonts/macfont.cpp
+++ b/graphics/fonts/macfont.cpp
@@ -242,7 +242,7 @@ bool MacFontFamily::load(Common::SeekableReadStream &stream) {
}
MacFONTFont::~MacFONTFont() {
- free(_data._bitImage);
+ delete _data._bitImage;
}
bool MacFONTFont::loadFont(Common::SeekableReadStream &stream, MacFontFamily *family, int size, int style) {