[docs] Add destroy() call to sample

This commit is contained in:
Behdad Esfahbod 2021-02-09 14:59:40 -07:00
parent 319e5b3200
commit feeff5928b
1 changed files with 2 additions and 1 deletions

View File

@ -303,6 +303,7 @@
hb_font_funcs_t *ffunctions = hb_font_funcs_create ();
hb_font_funcs_set_nominal_glyph_func (ffunctions, func, user_data, destroy);
hb_font_set_funcs (subfont, ffunctions, font_data, destroy);
hb_font_funcs_destroy (ffunctions);
</programlisting>
</section>