[libsoup] soup-session: Mark soup_session_new() as "transfer full"



commit 36770e8b8265add935b8d530f3207bab12fc9188
Author: Chris Talbot <chris talbothome com>
Date:   Wed Aug 10 10:05:57 2022 -0400

    soup-session: Mark soup_session_new() as "transfer full"
    
    soup_session_new() returns a new GObject, so it should be marked
    as "transfer full"

 libsoup/soup-session.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
index fcfc6312..e3577428 100644
--- a/libsoup/soup-session.c
+++ b/libsoup/soup-session.c
@@ -501,7 +501,7 @@ soup_session_get_property (GObject *object, guint prop_id,
  *
  * Creates a #SoupSession with the default options.
  *
- * Returns: the new session.
+ * Returns: (transfer full): the new session.
  */
 SoupSession *
 soup_session_new (void)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]