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