diff options
author | Eugene Sandulenko | 2019-12-26 17:31:42 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2019-12-26 17:31:42 +0100 |
commit | 40cb3b8f925361d67598b8f50a2e9d16365cd640 (patch) | |
tree | 613db9bc0d32b651b46cb86e3061cdcada80d70f /graphics | |
parent | ba834b628926f065aad57bf55a31ab4d2e3075c8 (diff) | |
download | scummvm-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.cpp | 2 |
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) { |