font chooser: Plug a memory leak

We were leaking the hb_font object.
This commit is contained in:
Matthias Clasen
2018-01-04 22:24:21 -05:00
parent e41e8c4c53
commit 3dd3ae1b9d

View File

@@ -2086,7 +2086,7 @@ gtk_font_chooser_widget_update_font_features (GtkFontChooserWidget *fontchooser)
}
}
hb_face_destroy (hb_face);
hb_font_destroy (hb_font);
}
pango_fc_font_unlock_face (PANGO_FC_FONT (pango_font));