From 71aac1673525cbe8f5b74636db56f8547930d31c Mon Sep 17 00:00:00 2001 From: ellson Date: Mon, 17 Nov 2008 13:20:34 +0000 Subject: [PATCH] partial fix for #1517 - free font options after use --- plugin/pango/gvtextlayout_pango.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/pango/gvtextlayout_pango.c b/plugin/pango/gvtextlayout_pango.c index c725d5fb3..79ce4cb3f 100644 --- a/plugin/pango/gvtextlayout_pango.c +++ b/plugin/pango/gvtextlayout_pango.c @@ -83,7 +83,7 @@ static boolean pango_textlayout(textpara_t * para, char **fontpath) cairo_font_options_set_hint_metrics(options,CAIRO_HINT_METRICS_ON); cairo_font_options_set_subpixel_order(options,CAIRO_SUBPIXEL_ORDER_BGR); pango_cairo_context_set_font_options(context, options); - + cairo_font_options_destroy(options); g_object_unref(fontmap); } -- 2.40.0