mirror of
https://github.com/reactos/reactos.git
synced 2026-06-06 13:47:40 +08:00
[WIN32K]
Fix a potential memory leak. Spotted by Samuel Serapion. svn path=/trunk/; revision=55562
This commit is contained in:
@@ -1349,6 +1349,7 @@ ftGdiGlyphCacheSet(
|
||||
error = FT_Glyph_To_Bitmap(&GlyphCopy, RenderMode, 0, 1);
|
||||
if (error)
|
||||
{
|
||||
FT_Done_Glyph(GlyphCopy);
|
||||
DPRINT1("Failure rendering glyph.\n");
|
||||
return NULL;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user