From edb54e9aeca25f4120a69ed3d5562cbb68fdb348 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 6 Nov 2009 15:19:22 -0500 Subject: [PATCH] Fix FT_Face finalizer call --- src/hb-ft.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ft.c b/src/hb-ft.c index 83eb2db08..e8295cf2f 100644 --- a/src/hb-ft.c +++ b/src/hb-ft.c @@ -192,7 +192,7 @@ hb_ft_face_create_cached (FT_Face ft_face) if (HB_UNLIKELY (!ft_face->generic.data || ft_face->generic.finalizer != (FT_Generic_Finalizer) hb_ft_face_finalize)) { if (ft_face->generic.finalizer) - ft_face->generic.finalizer (ft_face->generic.data); + ft_face->generic.finalizer (ft_face); ft_face->generic.data = hb_ft_face_create (ft_face, NULL); ft_face->generic.finalizer = (FT_Generic_Finalizer) hb_ft_face_finalize;