diff --git a/src/cff/cffload.c b/src/cff/cffload.c index 18a7ab61d..3df2eaba0 100644 --- a/src/cff/cffload.c +++ b/src/cff/cffload.c @@ -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 );