diff --git a/src/cairo-font-face.c b/src/cairo-font-face.c index c7f0a44bf..49c8cdf73 100644 --- a/src/cairo-font-face.c +++ b/src/cairo-font-face.c @@ -433,6 +433,7 @@ _cairo_toy_font_face_create (const char *family, return &font_face->base; UNWIND_FONT_FACE_INIT: + _cairo_toy_font_face_fini (font_face); UNWIND_FONT_FACE_MALLOC: free (font_face); UNWIND_HASH_TABLE_LOCK: