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) {