[draw] Fix leak from e0a5231657

This commit is contained in:
Behdad Esfahbod 2022-07-12 12:03:00 -06:00
parent f8544cbfc0
commit 46a36771f4
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}