GNOME Bugzilla – Bug 320065
Fix GList leaks
Last modified: 2006-01-10 10:52:36 UTC
We noticed that e-vcard.c leaks GList items when you delete attributes by using g_list_remove_link instead of _delete_link, so searched the code for more bugs like this and found some odd code in e-book-query.c which does g_list_remove_link followed by g_list_free1, which is exactly what g_list_delete_link does. Attaching a patch to fix the leak, and to clean up the code in the latter case.
Created attachment 53986 [details] [review] Cleanup
adding keyword, confirming.
patch looks good.
Committed to HEAD, thanks.