From: Cristy Date: Tue, 26 Sep 2017 11:15:58 +0000 (-0400) Subject: https://github.com/ImageMagick/ImageMagick/issues/781 X-Git-Tag: 7.0.7-5~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97740ccc177ee264e79091fa573d994eb6b05628;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/781 --- diff --git a/MagickCore/annotate.c b/MagickCore/annotate.c index 017b54f38..03ab2b504 100644 --- a/MagickCore/annotate.c +++ b/MagickCore/annotate.c @@ -1793,8 +1793,8 @@ static MagickBooleanType RenderFreetype(Image *image,const DrawInfo *draw_info, if (bitmap->left > metrics->width) metrics->width=bitmap->left; } + FT_Done_Glyph(glyph.image); } - FT_Done_Glyph(glyph.image); } metrics->bounds.x1/=64.0; metrics->bounds.y1/=64.0;