libpurple/protocols/facebook/util.h

changeset 41293
bfd8314a1a74
parent 41122
f29fa0dda4bf
child 41294
3f0b065e58f7
--- a/libpurple/protocols/facebook/util.h	Sun Mar 13 22:05:59 2022 -0500
+++ b/libpurple/protocols/facebook/util.h	Sun Mar 13 22:05:59 2022 -0500
@@ -99,7 +99,7 @@
  *
  * Finds a buddy by their name or alias.
  *
- * Returns: The #PurpleBuddy if found, otherwise #NULL.
+ * Returns: (transfer none): The #PurpleBuddy if found, otherwise #NULL.
  */
 PurpleBuddy *
 fb_util_account_find_buddy(PurpleAccount *acct, PurpleChatConversation *chat,
@@ -314,7 +314,7 @@
  * Deflates a #GByteArray with zlib. The returned #GByteArray should be
  * freed with #g_byte_array_free() when no longer needed.
  *
- * Returns: The deflated #GByteArray or #NULL on error.
+ * Returns: (transfer full): The deflated #GByteArray or #NULL on error.
  */
 GByteArray *
 fb_util_zlib_deflate(const GByteArray *bytes, GError **error);
@@ -327,7 +327,7 @@
  * Inflates a #GByteArray with zlib. The returned #GByteArray should be
  * freed with #g_byte_array_free() when no longer needed.
  *
- * Returns: The inflated #GByteArray or #NULL on error.
+ * Returns: (transfer full): The inflated #GByteArray or #NULL on error.
  */
 GByteArray *
 fb_util_zlib_inflate(const GByteArray *bytes, GError **error);

mercurial