free1

fun free1(list: List)

Frees one #GList element, but does not update links from the next and previous elements in the list, so you should not call this function on an element that is currently part of a list.

It is usually used after g_list_remove_link().

Parameters

list

a #GList element