diff --git a/src/sfnt/ttload.c b/src/sfnt/ttload.c index fe4d51559..c3a5fae2c 100644 --- a/src/sfnt/ttload.c +++ b/src/sfnt/ttload.c @@ -1046,7 +1046,7 @@ FT_LOCAL_DEF( void ) tt_face_free_name( TT_Face face ) { - FT_Memory memory = face->root.driver->root.memory; + FT_Memory memory = face->root.memory; TT_NameTable table = &face->name_table;