mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
AGI: Fix small memory leak in Hercules font loader
This commit is contained in:
parent
0caef5d8d0
commit
9d4216e158
@ -1232,6 +1232,7 @@ void GfxFont::loadFontHercules() {
|
||||
fontData += 4; // skip the last 2 lines
|
||||
}
|
||||
|
||||
free(rawData);
|
||||
} else {
|
||||
warning("Fontfile 'hgc_font': unexpected file size");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user