From b77fe970dbbc3c1e2bfaca58aade6874f8530885 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 14 Jan 2015 10:44:12 +0000 Subject: [PATCH] gstring: Mark g_string_free() as taking (transfer full) input This is unusual, but the correct annotation for a free() function. https://bugzilla.gnome.org/show_bug.cgi?id=742903 --- glib/gstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gstring.c b/glib/gstring.c index dc609577e..05c66d2ae 100644 --- a/glib/gstring.c +++ b/glib/gstring.c @@ -195,7 +195,7 @@ g_string_new_len (const gchar *init, /** * g_string_free: - * @string: a #GString + * @string: (transfer full): a #GString * @free_segment: if %TRUE, the actual character data is freed as well * * Frees the memory allocated for the #GString.