[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Tue Oct 13 06:33:16 PDT 2015


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

New commits:
commit ed13e2ce509408f849255be1d3cc3dbd7dbb3ba2
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Oct 13 10:32:56 2015 -0300

    [ot-font] Fix leak
    
    https://github.com/behdad/harfbuzz/issues/139#issuecomment-147616887

diff --git a/src/hb-ot-font.cc b/src/hb-ot-font.cc
index 3d861ec..3102784 100644
--- a/src/hb-ot-font.cc
+++ b/src/hb-ot-font.cc
@@ -261,6 +261,7 @@ _hb_ot_font_destroy (hb_ot_font_t *ot_font)
   ot_font->cmap.fini ();
   ot_font->h_metrics.fini ();
   ot_font->v_metrics.fini ();
+  ot_font->glyf.fini ();
 
   free (ot_font);
 }


More information about the HarfBuzz mailing list