From 4dc2449d92308f8dd366142831c0b85bd30ea5a9 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 17 Apr 2012 11:39:48 -0400 Subject: [PATCH] Fix leak in graphite --- src/hb-graphite2.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-graphite2.cc b/src/hb-graphite2.cc index 64f22f7e..cdf55f12 100644 --- a/src/hb-graphite2.cc +++ b/src/hb-graphite2.cc @@ -130,6 +130,7 @@ static void _hb_gr_font_data_destroy (void *data) hb_gr_font_data_t *f = (hb_gr_font_data_t *) data; gr_font_destroy (f->grfont); + free (f); } static hb_user_data_key_t hb_gr_data_key; -- GitLab