Bug 658561 - Double free after calling Pango.Context.get_font_description()
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 8 Sep 2011 15:12:28 +0000 (11:12 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 8 Sep 2011 15:12:55 +0000 (11:12 -0400)
pango/pango-context.c

index 110a6f3..6c1508b 100644 (file)
@@ -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)