From 46ee108ef80f5d4675899862698a8c34d8fcfab5 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 3 Aug 2012 18:21:13 -0700 Subject: [PATCH] Fix leak --- src/hb-shape-plan.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-shape-plan.cc b/src/hb-shape-plan.cc index 974c37028..ddfb50168 100644 --- a/src/hb-shape-plan.cc +++ b/src/hb-shape-plan.cc @@ -148,6 +148,8 @@ hb_shape_plan_destroy (hb_shape_plan_t *shape_plan) #include "hb-shaper-list.hh" #undef HB_SHAPER_IMPLEMENT + hb_face_destroy (shape_plan->face); + free (shape_plan); }