Add g_clear_list()
Although not quite as often-occurring, this should help with constructs like this:
if (list)
{
g_list_free_full (list, foo);
list = NULL;
}
Closes #1943
Although not quite as often-occurring, this should help with constructs like this:
if (list)
{
g_list_free_full (list, foo);
list = NULL;
}
Closes #1943