diff --git a/test/api/test-ot-math.c b/test/api/test-ot-math.c index e7a6fc899..b9fcb656d 100644 --- a/test/api/test-ot-math.c +++ b/test/api/test-ot-math.c @@ -79,6 +79,9 @@ closeFont (void) hb_face_destroy (hb_face); hb_font_destroy (hb_font); FT_Done_Face (ft_face); + hb_face = NULL; + hb_font = NULL; + ft_face = NULL; } static void