[FONT][WIN32SS] Fix a memory leak

This commit is contained in:
Mark Jansen 2018-12-29 19:45:37 +01:00
parent 1d1b7f46fc
commit 1f13b95e5b
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

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;