mirror of https://github.com/freetype/freetype
small bug fix used to compile when the SFNT
module doesn't support embedded bitmaps and postscript names..
This commit is contained in:
parent
7663f22288
commit
851688057d
|
@ -363,11 +363,11 @@
|
|||
if (sfnt)
|
||||
{
|
||||
/* destroy the postscript names table if it is supported */
|
||||
if (sfnt->load_psnames)
|
||||
if (sfnt->free_psnames)
|
||||
sfnt->free_psnames( face );
|
||||
|
||||
/* destroy the embedded bitmaps table if it is supported */
|
||||
if (sfnt->load_sbits)
|
||||
if (sfnt->free_sbits)
|
||||
sfnt->free_sbits( face );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue