mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-07 13:28:03 +02:00
* src/bdf/bdflib.c (bdf_parse_glyphs_): Free unused glyph_name.
See https://issues.oss-fuzz.com/issues/389330334.
This commit is contained in:
parent
f219996754
commit
ee1310ab5c
1 changed files with 3 additions and 0 deletions
|
|
@ -1447,6 +1447,9 @@
|
|||
/* Check for the ENDCHAR field. */
|
||||
if ( _bdf_strncmp( line, "ENDCHAR", 7 ) == 0 )
|
||||
{
|
||||
/* Free unused glyph_name */
|
||||
FT_FREE( p->glyph_name );
|
||||
|
||||
p->glyph_enc = 0;
|
||||
p->flags &= ~BDF_GLYPH_BITS_;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue