In function CFF_Done_Font, make sure to free the subfonts array to
avoid a memory leak.
This commit is contained in:
parent
9b8f633b87
commit
7579edc55e
@ -2246,6 +2246,8 @@
|
||||
for ( index = 0; index < font->num_subfonts; index++ )
|
||||
CFF_Done_SubFont( memory, font->subfonts[index] );
|
||||
|
||||
FREE( font->subfonts );
|
||||
|
||||
CFF_Done_Encoding( &font->encoding, font->stream );
|
||||
CFF_Done_Charset( &font->charset, font->stream );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user