[pango/harfbuzz-ng] [HB] Fix leak



commit d55d065f2ad518879ae1992f13d1b86e109548a1
Author: Behdad Esfahbod <behdad behdad org>
Date:   Tue Aug 4 21:32:06 2009 -0400

    [HB] Fix leak

 pango/opentype/hb-ot-layout.cc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/pango/opentype/hb-ot-layout.cc b/pango/opentype/hb-ot-layout.cc
index 2fe5449..ef0a6b1 100644
--- a/pango/opentype/hb-ot-layout.cc
+++ b/pango/opentype/hb-ot-layout.cc
@@ -68,6 +68,8 @@ _hb_ot_layout_fini (hb_face_t *face)
   hb_blob_destroy (layout->gdef_blob);
   hb_blob_destroy (layout->gsub_blob);
   hb_blob_destroy (layout->gpos_blob);
+
+  free (layout->new_gdef.klasses);
 }
 
 static const GDEF&



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]