[FONT][WIN32SS] Fix a memory leak

This commit is contained in:
Mark Jansen
2018-12-29 19:47:00 +01:00
parent 1d1b7f46fc
commit 1f13b95e5b
+1 -5
View File
@@ -5876,11 +5876,7 @@ GreExtTextOutW(
previous = glyph_index;
if (EmuBold || EmuItalic)
{
FT_Done_Glyph((FT_Glyph)realglyph);
realglyph = NULL;
}
FT_Done_Glyph(realglyph);
}
TextWidth = TextLeft - RealXStart;