mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-08 20:07:11 +00:00
GRAPHICS: FONTS: Fix mismatched new/delete.
This commit is contained in:
parent
32c96f6373
commit
043acc1ccc
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user