[ot-font] Fix leak
https://github.com/behdad/harfbuzz/issues/139#issuecomment-147616887
This commit is contained in:
parent
55db94be2b
commit
ed13e2ce50
|
@ -261,6 +261,7 @@ _hb_ot_font_destroy (hb_ot_font_t *ot_font)
|
||||||
ot_font->cmap.fini ();
|
ot_font->cmap.fini ();
|
||||||
ot_font->h_metrics.fini ();
|
ot_font->h_metrics.fini ();
|
||||||
ot_font->v_metrics.fini ();
|
ot_font->v_metrics.fini ();
|
||||||
|
ot_font->glyf.fini ();
|
||||||
|
|
||||||
free (ot_font);
|
free (ot_font);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue