libfreerdp-gdi: fix gdi_Glyph_Free() segfault
This commit is contained in:
parent
5924666748
commit
e6373f66d6
@ -165,7 +165,6 @@ void gdi_Glyph_Free(rdpContext* context, rdpGlyph* glyph)
|
||||
gdi_SelectObject(gdi_glyph->hdc, (HGDIOBJECT) gdi_glyph->org_bitmap);
|
||||
gdi_DeleteObject((HGDIOBJECT) gdi_glyph->bitmap);
|
||||
gdi_DeleteDC(gdi_glyph->hdc);
|
||||
xfree(gdi_glyph);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user