Skip to content

Add g_clear_list()

Ghost User requested to merge wip/ernestask/g_clear_list into master

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

Merge request reports