In function CFF_Done_Font, make sure to free the subfonts array to avoid a memory leak.
diff --git a/src/cff/cffload.c b/src/cff/cffload.c
index 18a7ab6..3df2eab 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 );