From c19259526825a7eaf1a3faf64df1690e53a4b5cd Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 13 Apr 2017 10:24:32 +0100 Subject: [PATCH] ginputstream: Add missing (transfer full) annotation to read_bytes() --- gio/ginputstream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/ginputstream.c b/gio/ginputstream.c index 4e56d87ef..71bbb7bcc 100644 --- a/gio/ginputstream.c +++ b/gio/ginputstream.c @@ -306,7 +306,7 @@ g_input_stream_read_all (GInputStream *stream, * * On error %NULL is returned and @error is set accordingly. * - * Returns: a new #GBytes, or %NULL on error + * Returns: (transfer full): a new #GBytes, or %NULL on error * * Since: 2.34 **/ @@ -939,7 +939,7 @@ g_input_stream_read_bytes_async (GInputStream *stream, * * Finishes an asynchronous stream read-into-#GBytes operation. * - * Returns: the newly-allocated #GBytes, or %NULL on error + * Returns: (transfer full): the newly-allocated #GBytes, or %NULL on error * * Since: 2.34 **/