[HarfBuzz] harfbuzz-ng: Branch 'master' - 2 commits

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Apr 17 08:39:55 PDT 2012


 src/hb-graphite2.cc                                  |    1 +
 test/shaping/texts/in-tree/shaper-thai/misc/misc.txt |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit 4dc2449d92308f8dd366142831c0b85bd30ea5a9
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Apr 17 11:39:48 2012 -0400

    Fix leak in graphite

diff --git a/src/hb-graphite2.cc b/src/hb-graphite2.cc
index 64f22f7..cdf55f1 100644
--- a/src/hb-graphite2.cc
+++ b/src/hb-graphite2.cc
@@ -130,6 +130,7 @@ static void _hb_gr_font_data_destroy (void *data)
   hb_gr_font_data_t *f = (hb_gr_font_data_t *) data;
 
   gr_font_destroy (f->grfont);
+  free (f);
 }
 
 static hb_user_data_key_t hb_gr_data_key;
commit 0290bbf8611aa881daed907f22256a431250c90a
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Apr 17 10:28:21 2012 -0400

    Add another Thai test

diff --git a/test/shaping/texts/in-tree/shaper-thai/misc/misc.txt b/test/shaping/texts/in-tree/shaper-thai/misc/misc.txt
index fc2dba9..51a47af 100644
--- a/test/shaping/texts/in-tree/shaper-thai/misc/misc.txt
+++ b/test/shaping/texts/in-tree/shaper-thai/misc/misc.txt
@@ -3,3 +3,4 @@
 ด๋ํา
 ดำ
 ำ
+กิ่



More information about the HarfBuzz mailing list