From 40cb3b8f925361d67598b8f50a2e9d16365cd640 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 26 Dec 2019 17:31:42 +0100 Subject: GRAPHICS: FONT: Really fix mismatched new/delete --- graphics/fonts/macfont.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics') diff --git a/graphics/fonts/macfont.cpp b/graphics/fonts/macfont.cpp index 5fb354b9f2..4264f64649 100644 --- a/graphics/fonts/macfont.cpp +++ b/graphics/fonts/macfont.cpp @@ -242,7 +242,7 @@ bool MacFontFamily::load(Common::SeekableReadStream &stream) { } MacFONTFont::~MacFONTFont() { - delete _data._bitImage; + delete[] _data._bitImage; } bool MacFONTFont::loadFont(Common::SeekableReadStream &stream, MacFontFamily *family, int size, int style) { -- cgit v1.2.3