Do not leak hb_language_t on hb_language_item_t destruction
This commit is contained in:
parent
b306f9674a
commit
675956aca0
|
@ -265,6 +265,7 @@ retry:
|
|||
*lang = key;
|
||||
|
||||
if (!hb_atomic_ptr_cmpexch (&langs, first_lang, lang)) {
|
||||
lang->finish ();
|
||||
free (lang);
|
||||
goto retry;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue