aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-26 17:31:42 +0100
committerEugene Sandulenko2019-12-26 17:31:42 +0100
commit40cb3b8f925361d67598b8f50a2e9d16365cd640 (patch)
tree613db9bc0d32b651b46cb86e3061cdcada80d70f /graphics
parentba834b628926f065aad57bf55a31ab4d2e3075c8 (diff)
downloadscummvm-rg350-40cb3b8f925361d67598b8f50a2e9d16365cd640.tar.gz
scummvm-rg350-40cb3b8f925361d67598b8f50a2e9d16365cd640.tar.bz2
scummvm-rg350-40cb3b8f925361d67598b8f50a2e9d16365cd640.zip
GRAPHICS: FONT: Really fix mismatched new/delete
Diffstat (limited to 'graphics')
-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 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) {