|
From: Chris F. <cd...@fo...> - 2010-06-25 02:43:44
|
Hi, Following all those refs and unrefs is tough for my poor brain, but I think I found a leak. In the file group/opensync_member.c, function: OSyncPluginConfig *osync_member_get_config_or_default(OSyncMember *member, OSyncError **error) On success it returns the member->config member directly. On error, it loads the default from the default plugin config, calling osync_plugin_config_new(), then osync_member_set_config() which seems to bump the ref, then returns. So a caller to osync_member_get_config_or_default() doesn't know whether to unref the result or not... - Chris |