src/hb-common.cc | 1 + 1 file changed, 1 insertion(+) New commits: commit 675956aca01fc4e005a338af43d1c1f4f938abd1 Author: Konstantin Ritt <ritt...@gmail.com> Date: Tue Jan 27 11:23:07 2015 +0400
Do not leak hb_language_t on hb_language_item_t destruction diff --git a/src/hb-common.cc b/src/hb-common.cc index 8837cef..05a1f9c 100644 --- a/src/hb-common.cc +++ b/src/hb-common.cc @@ -265,6 +265,7 @@ retry: *lang = key; if (!hb_atomic_ptr_cmpexch (&langs, first_lang, lang)) { + lang->finish (); free (lang); goto retry; } _______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz