[pango] Bug 658561 - Double free after calling Pango.Context.get_font_description()



commit c6633eec387739d8dc4d0cf1541bf95258f6029d
Author: Behdad Esfahbod <behdad behdad org>
Date:   Thu Sep 8 11:12:28 2011 -0400

    Bug 658561 - Double free after calling Pango.Context.get_font_description()

 pango/pango-context.c |    4 ++--
 1 files 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)



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