* src/sfnt/sfobjs.c (sfnt_done_face): Check `sfnt' everywhere. This

fixes Savannah bug #21485.
This commit is contained in:
Werner Lemberg 2007-11-01 09:19:44 +00:00
parent 27649fb62b
commit d503fc57f2
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-11-01 Werner Lemberg <wl@gnu.org>
* src/sfnt/sfobjs.c (sfnt_done_face): Check `sfnt' everywhere. This
fixes Savannah bug #21485.
2006-10-29 Daniel Svoboda <dasvo@planeta@cz>
* src/winfonts/winfnt.c (FNT_Face_Init): Check first that the driver

View File

@ -1096,7 +1096,8 @@
face->gasp.numRanges = 0;
/* freeing the name table */
sfnt->free_name( face );
if ( sfnt )
sfnt->free_name( face );
/* freeing family and style name */
FT_FREE( face->root.family_name );