summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2011-09-08 11:12:28 -0400
committerBehdad Esfahbod <behdad@behdad.org>2011-09-08 11:12:55 -0400
commitc6633eec387739d8dc4d0cf1541bf95258f6029d (patch)
tree187f922b9c5c39191680c8a7ab5cee27c9215170
parent5ee82b1a032128d90810fa9b156ebe936796777f (diff)
downloadpango-c6633eec387739d8dc4d0cf1541bf95258f6029d.tar.gz
Bug 658561 - Double free after calling Pango.Context.get_font_description()
-rw-r--r--pango/pango-context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 110a6f36..6c1508b4 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)