From ed8cede51ee8c1cd1886a79409632ca2b1a4769a Mon Sep 17 00:00:00 2001 From: wiredfool Date: Fri, 13 Dec 2013 21:29:17 -0800 Subject: [PATCH] Freeing glyph, fixes #446 --- _imagingft.c | 1 + 1 file changed, 1 insertion(+) diff --git a/_imagingft.c b/_imagingft.c index f19555be2..c5a559c85 100644 --- a/_imagingft.c +++ b/_imagingft.c @@ -241,6 +241,7 @@ font_getsize(FontObject* self, PyObject* args) yoffset = face->glyph->metrics.horiBearingY; last_index = index; + FT_Done_Glyph(glyph); } if (face) {