diff options
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-ot-info.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c index f6dc1ac0..d494d7f4 100644 --- a/pango/pango-ot-info.c +++ b/pango/pango-ot-info.c @@ -88,6 +88,9 @@ pango_ot_info_get (FT_Face face) { PangoOTInfo *info; + if (G_UNLIKELY (!face)) + return NULL; + if (G_LIKELY (face->generic.data && face->generic.finalizer == pango_ot_info_finalizer)) return face->generic.data; else |