* src/sfnt/sfobjs.c (sfnt_done_face): Fix memory leak (#54435).

This commit is contained in:
Ben Wagner 2018-08-10 22:24:26 +02:00 committed by Werner Lemberg
parent 1a21ca7b91
commit 96b5e50090
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2018-08-10 Ben Wagner <bungeman@google.com>
* src/sfnt/sfobjs.c (sfnt_done_face): Fix memory leak (#54435).
2018-08-10 Werner Lemberg <wl@gnu.org>
* src/base/ftobjs.c (FT_Render_Glyph_Internal): Improve tracing.

View File

@ -1809,8 +1809,9 @@
FT_FREE( face->sbit_strike_map );
face->root.num_fixed_sizes = 0;
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
FT_FREE( face->postscript_name );
#ifdef TT_CONFIG_OPTION_GX_VAR_SUPPORT
FT_FREE( face->var_postscript_prefix );
#endif