From d55d065f2ad518879ae1992f13d1b86e109548a1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 4 Aug 2009 21:32:06 -0400 Subject: [PATCH] [HB] Fix leak --- pango/opentype/hb-ot-layout.cc | 2 ++ 1 file changed, 2 insertions(+) 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& -- 2.7.4