pidgin/android/libpurple

5338b7ae4f73
Parents 7d09f4a5628a
Children 4efe5c21db45
Be more clear in the doc about what should be freed.
--- a/libpurple/blist.h Sun Apr 14 09:13:36 2013 -0700
+++ b/libpurple/blist.h Sun Apr 14 11:34:01 2013 -0700
@@ -862,7 +862,10 @@
* @param account The account this buddy belongs to
* @param name The buddy's name (or NULL to return all buddies for the account)
*
- * @return A GSList of buddies (which must be freed), or NULL if the buddy doesn't exist
+ * @return NULL if the buddy doesn't exist, or a GSList of
+ * PurpleBuddy structs. You must free the GSList using
+ * g_slist_free. Do not free the PurpleBuddy structs that
+ * the list points to.
*/
GSList *purple_find_buddies(PurpleAccount *account, const char *name);