Hi guys! This morning I have been wasting sometime because I was freeing: resources_orig = mrp_project_get_resources (plugin->priv->project); ... g_list_free (resources_orig); Looking to the function signature, you can't know if the list the API is given you is a copy or an internal list that can't be freed with very bad results. Evolution hackers use: *_get_*: you get a copy and you have to free it *_peek_*: you get the original internal pointer and you don't have to touch it. For example: groups = e_source_list_peek_groups (source_list); gives you and internal pointer (peek) What do you think about it? Cheers -- Alvaro
Attachment:
signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente