shithub: freetype+ttf2subf

Download patch

ref: 16217e5f22127cbe3aed6375b446629228098b90
parent: f353a38e87a894a0a3280f5e27278831a1a2aaad
author: Werner Lemberg <[email protected]>
date: Wed Apr 1 09:13:56 EDT 2015

* src/autofit/afhints.c (af_glyph_hints_done): Fix minor thinko.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-04-01  Werner Lemberg  <[email protected]>
+
+	* src/autofit/afhints.c (af_glyph_hints_done): Fix minor thinko.
+
 2015-03-29  Werner Lemberg  <[email protected]>
 
 	[cff] Fix Savannah bug #44629.
--- a/src/autofit/afhints.c
+++ b/src/autofit/afhints.c
@@ -533,12 +533,14 @@
   FT_LOCAL_DEF( void )
   af_glyph_hints_done( AF_GlyphHints  hints )
   {
-    FT_Memory  memory = hints->memory;
+    FT_Memory  memory;
     int        dim;
 
 
     if ( !( hints && hints->memory ) )
       return;
+
+    memory = hints->memory;
 
     /*
      *  note that we don't need to free the segment and edge