From 4586e257094f5b41bd7f12697bc0a9446fa1aaf0 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Mon, 8 Apr 2019 17:53:55 +0800 Subject: [PATCH] cleanup --- src/newgdi/shape-glyphs-complex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/newgdi/shape-glyphs-complex.c b/src/newgdi/shape-glyphs-complex.c index 39a858c4..906a2837 100644 --- a/src/newgdi/shape-glyphs-complex.c +++ b/src/newgdi/shape-glyphs-complex.c @@ -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);