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

This commit is contained in:
Werner Lemberg 2015-04-01 13:13:56 +02:00
parent f353a38e87
commit 16217e5f22
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-04-01 Werner Lemberg <wl@gnu.org>
* src/autofit/afhints.c (af_glyph_hints_done): Fix minor thinko.
2015-03-29 Werner Lemberg <wl@gnu.org>
[cff] Fix Savannah bug #44629.

View File

@ -533,13 +533,15 @@
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
* buffers since they are really within the hints->points array