From 46a36771f4369994df67535e15ac7af71fad345a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 12 Jul 2022 12:03:00 -0600 Subject: [PATCH] [draw] Fix leak from e0a5231657a6f09ca4afc93e1b2224eba7a0b544 --- src/hb-draw.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hb-draw.cc b/src/hb-draw.cc index a73dc291f..46797e64e 100644 --- a/src/hb-draw.cc +++ b/src/hb-draw.cc @@ -209,6 +209,9 @@ hb_draw_funcs_destroy (hb_draw_funcs_t *dfuncs) #undef HB_DRAW_FUNC_IMPLEMENT } + hb_free (dfuncs->destroy); + hb_free (dfuncs->user_data); + hb_free (dfuncs); }