[subset] Fix memory leak in subset face destroy.

This commit is contained in:
Garret Rieger 2018-02-23 15:30:14 -08:00
parent d38f37b2e3
commit 5a36b55fba

View File

@ -136,6 +136,9 @@ _hb_subset_face_data_destroy (void *user_data)
{
hb_subset_face_data_t *data = (hb_subset_face_data_t *) user_data;
for (int i = 0; i < data->tables.len; i++)
hb_blob_destroy (data->tables[i].blob);
data->tables.finish ();
free (data);