diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2016-01-15 23:08:56 +0000 |
---|---|---|
committer | Lionel Landwerlin <llandwerlin@gmail.com> | 2016-01-15 23:10:41 +0000 |
commit | 45cf9db7d46ff6ecabd6bbd4e7ae99cfefbc1626 (patch) | |
tree | 301f0ba126d20408472fa3ffe8472b81782dce33 /libsoup/soup-form.c | |
parent | c54291594fbdc41e7dcf680ca44b795a85f1b33c (diff) | |
download | libsoup-45cf9db7d46ff6ecabd6bbd4e7ae99cfefbc1626.tar.gz |
soup_form_decode*: fix transfer annotation
The correct transfer annotation to use here is container, as unreffing the
GHashTable will free its items.
https://bugzilla.gnome.org/show_bug.cgi?id=743966
Diffstat (limited to 'libsoup/soup-form.c')
-rw-r--r-- | libsoup/soup-form.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsoup/soup-form.c b/libsoup/soup-form.c index 448c3c46..aa0974f2 100644 --- a/libsoup/soup-form.c +++ b/libsoup/soup-form.c @@ -77,7 +77,7 @@ form_decode (char *part) * Decodes @form, which is an urlencoded dataset as defined in the * HTML 4.01 spec. * - * Return value: (element-type utf8 utf8) (transfer full): a hash + * Return value: (element-type utf8 utf8) (transfer container): a hash * table containing the name/value pairs from @encoded_form, which you * can free with g_hash_table_destroy(). **/ @@ -139,7 +139,7 @@ soup_form_decode (const char *encoded_form) * need to decode it manually, using soup_multipart_new_from_message() * and soup_multipart_get_part(). * - * Return value: (nullable) (element-type utf8 utf8) (transfer full): + * Return value: (nullable) (element-type utf8 utf8) (transfer container): * a hash table containing the name/value pairs (other than * @file_control_name) from @msg, which you can free with * g_hash_table_destroy(). On error, it will return %NULL. |