summaryrefslogtreecommitdiff
path: root/pango/pangocairo-font.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pangocairo-font.c')
-rw-r--r--pango/pangocairo-font.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pangocairo-font.c b/pango/pangocairo-font.c
index 3ca4073e..8c6ab66b 100644
--- a/pango/pangocairo-font.c
+++ b/pango/pangocairo-font.c
@@ -404,6 +404,7 @@ _pango_cairo_font_private_get_hex_box_info (PangoCairoFontPrivate *cf_priv)
g_object_unref (context);
}
+ pango_font_description_free (desc);
cairo_font_options_destroy (font_options);
@@ -469,6 +470,7 @@ _pango_cairo_font_private_get_hex_box_info (PangoCairoFontPrivate *cf_priv)
hbi->box_descent = HINT_Y (hbi->box_descent);
}
+ cf_priv->hbi = hbi;
return hbi;
}