[pango/hb-getters] Cosmetic cleanups



commit d81c3a65a6b327adaa5b0b992f324eb054fba60a
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 15 17:56:44 2018 -0400

    Cosmetic cleanups

 pango/pangofc-fontmap.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index 5a9389a8..1fb66235 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -297,8 +297,7 @@ pango_fc_font_face_data_free (PangoFcFontFaceData *data)
   if (data->cmap_cache)
     _pango_fc_cmap_cache_unref (data->cmap_cache);
 
-  if (data->hb_face)
-    hb_face_destroy (data->hb_face);
+  hb_face_destroy (data->hb_face);
 
   g_slice_free (PangoFcFontFaceData, data);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]