shithub: freetype+ttf2subf

Download patch

ref: 0a1169f7c3ba417946e58a62987c9928e047889a
parent: 5a7f2ff520e1e47a914267bfc48bc695e4d229d3
author: Werner Lemberg <[email protected]>
date: Fri Feb 3 14:38:20 EST 2017

* src/autofit/afglobal.c (af_face_globals_free): Erase useless code.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2017-02-03  Werner Lemberg  <[email protected]>
 
+	* src/autofit/afglobal.c (af_face_globals_free): Erase useless code.
+
+2017-02-03  Werner Lemberg  <[email protected]>
+
 	* include/freetype/ftgasp.h (FT_GASP_SYMMETRIC_GRIDFIT): Fix value.
 
 	Reported by Behdad.
--- 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'; */