Clears a pointer to a
GList, freeing it and, optionally, freeing its elements using
list_ptr must be a valid pointer. If
list_ptr points to a null
GList, this does nothing.
Available since: 2.64
This function is not directly available to language bindings.
Type: A list of
The data is owned by the caller of the function.
The function to pass to
NULLto not free elements.
The argument can be