Skip to content

Remove use of foreach with wrong function prototype and use g_list_free_full

Alberto Ruiz requested to merge aruiz/libgdata:wip/use_free_full into master

While trying to build master I came across warnings of g_object_unref(void*) being casted to a GFunc(void*,void*) function pointer. Turns out that all over the codebase libgdata used the foreach method with g_object_unref to unref each GList GObject instead of using g_list_free_full.

Merge request reports