[subset-input] Fix leak

pull/4033/head
Behdad Esfahbod 2 years ago
parent c52810529e
commit d5b826fd09
  1. 3
      src/hb-subset-input.hh

@ -86,6 +86,9 @@ struct hb_subset_input_t
~hb_subset_input_t ()
{
for (auto& set : sets_iter ())
set = hb::shared_ptr<hb_set_t> ();
#ifdef HB_EXPERIMENTAL_API
for (auto _ : name_table_overrides)
_.second.fini ();

Loading…
Cancel
Save