ref: a9aa69c2c87c06de14d646426a59eeb7b10181cb
parent: 556ad08f03dcd890885eed2cdb8dbe51fae344ab
author: Werner Lemberg <[email protected]>
date: Mon Jan 28 18:52:24 EST 2002
* src/pcf/pcfdriver.c (PCF_Done_Face): Fix incorrect destruction of the face object (face->toc.tables, face->root.family_name, face->root.available_size, face->charset_encoding, face->charset_registry are now freed). Thanks to Niels Moseley.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-01-28 Francesco Zappa Nardelli <[email protected]>
+
+ * src/pcf/pcfdriver.c (PCF_Done_Face): Fix incorrect destruction of
+ the face object (face->toc.tables, face->root.family_name,
+ face->root.available_size, face->charset_encoding,
+ face->charset_registry are now freed). Thanks to Niels Moseley.
+
2002-01-28 Roberto Alameda <[email protected]>
* src/type1/t1load.c (parse_encoding): Set `loader->num_chars'.
--- a/src/pcf/pcfdriver.c
+++ b/src/pcf/pcfdriver.c
@@ -66,6 +66,11 @@
FREE( tmp->value );
}
FREE( face->properties );
+ FREE( face->toc.tables );
+ FREE( face->root.family_name );
+ FREE( face->root.available_sizes );
+ FREE( face->charset_encoding );
+ FREE( face->charset_registry );
FT_TRACE4(( "DONE_FACE!!!\n" ));