[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Jan 27 10:07:02 PST 2015


 src/hb-common.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 675956aca01fc4e005a338af43d1c1f4f938abd1
Author: Konstantin Ritt <ritt.ks at 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;
   }


More information about the HarfBuzz mailing list