Clears a pointer to a GSList, freeing it and, optionally, freeing its elements using destroy.
slist_ptr must be a valid pointer. If slist_ptr points to a null GSList, this does nothing.
a GSList return location
the function to pass to g_slist_free_full() or NULL to not free elements
2.64
Clears a pointer to a GSList, freeing it and, optionally, freeing its elements using destroy.
slist_ptr must be a valid pointer. If slist_ptr points to a null GSList, this does nothing.