Fix hb_ot_layout leak
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 22 Sep 2010 21:38:44 +0000 (17:38 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 22 Sep 2010 21:38:44 +0000 (17:38 -0400)
src/hb-ot-layout.cc

index 965a2fb..17bd37a 100644 (file)
@@ -71,6 +71,8 @@ _hb_ot_layout_free (hb_ot_layout_t *layout)
   hb_blob_destroy (layout->gpos_blob);
 
   free (layout->new_gdef.klasses);
+
+  free (layout);
 }
 
 static const GDEF&