From b6420e84edeccc5c45078e92fd31aa9e5c8e8a1e Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Tue, 18 May 2004 20:16:04 +0000 Subject: [PATCH] * src/sfnt/sfobjs.c (sfnt_done_face): Free face->postscript_name. --- ChangeLog | 4 ++++ src/sfnt/sfobjs.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b0054a259..ea7a9c020 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-05-15 Werner Lemberg + + * src/sfnt/sfobjs.c (sfnt_done_face): Free face->postscript_name. + 2004-05-15 George Williams * src/sfnt/ttload.c (tt_face_load_max_profile): Always set diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c index 56781f766..5fca21563 100644 --- a/src/sfnt/sfobjs.c +++ b/src/sfnt/sfobjs.c @@ -838,9 +838,10 @@ FT_FREE( face->root.style_name ); /* freeing sbit size table */ + FT_FREE( face->root.available_sizes ); face->root.num_fixed_sizes = 0; - if ( face->root.available_sizes ) - FT_FREE( face->root.available_sizes ); + + FT_FREE( face->postscript_name ); face->sfnt = 0; }