[HB] Fix leak
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 5 Aug 2009 01:32:06 +0000 (21:32 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 2 Nov 2009 19:40:30 +0000 (14:40 -0500)
src/hb-ot-layout.cc

index 2fe5449..ef0a6b1 100644 (file)
@@ -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&