From c6633eec387739d8dc4d0cf1541bf95258f6029d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 8 Sep 2011 11:12:28 -0400 Subject: [PATCH] Bug 658561 - Double free after calling Pango.Context.get_font_description() --- pango/pango-context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pango/pango-context.c b/pango/pango-context.c index 110a6f3..6c1508b 100644 --- a/pango/pango-context.c +++ b/pango/pango-context.c @@ -339,8 +339,8 @@ pango_context_set_font_description (PangoContext *context, * * Retrieve the default font description for the context. * - * Return value: a pointer to the context's default font description. - * This value must not be modified or freed. + * Return value: (transfer none) a pointer to the context's default font + * description. This value must not be modified or freed. **/ PangoFontDescription * pango_context_get_font_description (PangoContext *context) -- 2.7.4