Clears a pointer to a #GList, freeing it and, optionally, freeing its elements using @destroy.
@list_ptr must be a valid pointer. If @list_ptr points to a null #GList, this does nothing.
a #GList return location
the function to pass to g_list_free_full() or %NULL to not free elements
2.64
See Implementation
Clears a pointer to a #GList, freeing it and, optionally, freeing its elements using @destroy.
@list_ptr must be a valid pointer. If @list_ptr points to a null #GList, this does nothing.