AGI: Fix small memory leak in Hercules font loader

This commit is contained in:
Torbjörn Andersson 2016-02-28 14:34:22 +01:00
parent 0caef5d8d0
commit 9d4216e158

View File

@ -1232,6 +1232,7 @@ void GfxFont::loadFontHercules() {
fontData += 4; // skip the last 2 lines
}
free(rawData);
} else {
warning("Fontfile 'hgc_font': unexpected file size");
}