mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[subset-input] Fix leak
This commit is contained in:
parent
c52810529e
commit
d5b826fd09
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue