This commit is contained in:
Vincent Wei
2019-04-08 17:53:55 +08:00
parent 7e776f6b78
commit 4586e25709
+1 -3
View File
@@ -158,9 +158,7 @@ static BOOL destroy_instance(SEInstance* inst)
font_res = (FONT_RES*)fi->lf;
if (font_res->key) {
int rc = ReleaseRes(font_res->key);
_DBG_PRINTF("%s: ref count of logfont (%p): %d\n",
__FUNCTION__, fi->lf, rc);
ReleaseRes(font_res->key);
}
mg_slice_delete(FtFontInfo, fi);