diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2015-11-27 17:54:07 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2016-01-07 15:21:08 +0100 |
commit | ea5ca11761b945cb27f685254afec5d3d56f2670 (patch) | |
tree | c3c52c444810268c2dbc01ec775edf8b29934185 | |
parent | b6edac5aca160704f2bfbba541beee5b1f994a18 (diff) | |
download | glib-ea5ca11761b945cb27f685254afec5d3d56f2670.tar.gz |
gio: Document that g_inet_address_new_* return value must be g_object_unref'ed
-rw-r--r-- | gio/ginetaddress.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gio/ginetaddress.c b/gio/ginetaddress.c index c83f750cd..671f228da 100644 --- a/gio/ginetaddress.c +++ b/gio/ginetaddress.c @@ -476,6 +476,7 @@ inet_ntop (gint family, * * Returns: a new #GInetAddress corresponding to @string, or %NULL if * @string could not be parsed. + * Free the returned object with g_object_unref(). * * Since: 2.22 */ @@ -513,6 +514,7 @@ g_inet_address_new_from_string (const gchar *string) * %G_SOCKET_FAMILY_IPV6. * * Returns: a new #GInetAddress corresponding to @family and @bytes. + * Free the returned object with g_object_unref(). * * Since: 2.22 */ @@ -536,6 +538,7 @@ g_inet_address_new_from_bytes (const guint8 *bytes, * * Returns: a new #GInetAddress corresponding to the loopback address * for @family. + * Free the returned object with g_object_unref(). * * Since: 2.22 */ @@ -563,6 +566,7 @@ g_inet_address_new_loopback (GSocketFamily family) * * Returns: a new #GInetAddress corresponding to the "any" address * for @family. + * Free the returned object with g_object_unref(). * * Since: 2.22 */ |