GRAPHICS: FONTS: Fix mismatched new/delete.

This commit is contained in:
Eugene Sandulenko 2019-12-26 17:25:31 +01:00
parent 32c96f6373
commit 043acc1ccc

View File

@ -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) {