mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 16:06:16 +01:00
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
This commit is contained in:
parent
4cad3f5e1b
commit
b77fe970db
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user