Frees all of the memory used by a #GSList. The freed elements are returned to the slice allocator.
If list elements contain dynamically-allocated memory, you should either use g_slist_free_full() or free them manually first.
See Implementation
Frees all of the memory used by a #GSList. The freed elements are returned to the slice allocator.
If list elements contain dynamically-allocated memory, you should either use g_slist_free_full() or free them manually first.