diff --git a/ChangeLog b/ChangeLog index 996383748..c08a1cdbc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2017-02-03 Werner Lemberg + + * src/autofit/afglobal.c (af_face_globals_free): Erase useless code. + 2017-02-03 Werner Lemberg * include/freetype/ftgasp.h (FT_GASP_SYMMETRIC_GRIDFIT): Fix value. diff --git a/src/autofit/afglobal.c b/src/autofit/afglobal.c index d238bc6a6..85bef001f 100644 --- a/src/autofit/afglobal.c +++ b/src/autofit/afglobal.c @@ -411,10 +411,7 @@ #ifdef FT_CONFIG_OPTION_USE_HARFBUZZ hb_font_destroy( globals->hb_font ); - globals->hb_font = NULL; - hb_buffer_destroy( globals->hb_buf ); - globals->hb_buf = NULL; #endif /* no need to free `globals->glyph_styles'; */