libfreerdp-gdi: fix gdi_Glyph_Free() segfault

This commit is contained in:
Marc-André Moreau 2012-01-16 10:13:23 -05:00
parent 5924666748
commit e6373f66d6

View File

@ -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);
}
}