Fix leak in graphite
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 17 Apr 2012 15:39:48 +0000 (11:39 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 17 Apr 2012 15:39:48 +0000 (11:39 -0400)
src/hb-graphite2.cc

index 64f22f7..cdf55f1 100644 (file)
@@ -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;