Merge pull request #449 from wiredfool/freetype-leak

Freeing glyph
This commit is contained in:
Alex Clark ☺ 2013-12-28 06:12:43 -08:00
commit 2759e3588d

View File

@ -241,6 +241,7 @@ font_getsize(FontObject* self, PyObject* args)
yoffset = face->glyph->metrics.horiBearingY;
last_index = index;
FT_Done_Glyph(glyph);
}
if (face) {