Wed, 07 Aug 2013 04:54:32 +0530
Add a note in the documentation for purple_plugins_find_all() that the list is owned by caller
| libpurple/plugins.h | file | annotate | diff | comparison | revisions |
--- a/libpurple/plugins.h Wed Aug 07 04:35:15 2013 +0530 +++ b/libpurple/plugins.h Wed Aug 07 04:54:32 2013 +0530 @@ -523,7 +523,8 @@ /** * Returns a list of all plugins, whether loaded or not. * - * @return A list of all plugins. + * @return A list of all plugins. The list is owned by the caller, and must be + * g_list_free()d to avoid leaking the nodes. */ GList *purple_plugins_find_all(void);