From 9ea7368fce3fa373d8d2925961ad211f5cf6ce70 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 22 Sep 2010 17:38:44 -0400 Subject: [PATCH] Fix hb_ot_layout leak --- src/hb-ot-layout.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc index 965a2fb79..17bd37aff 100644 --- a/src/hb-ot-layout.cc +++ b/src/hb-ot-layout.cc @@ -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&