/* If list elements contain dynamically-allocated memory, you should either use g_slist_free_full() or free them manually first.  */
void g_slist_free(GSList *list)
/* If list elements contain dynamically-allocated memory, you should either use g_slist_free_full() or free them manually first.  */
void g_slist_free(GSList *list)
{
  g_slice_free_chain (GSList, list, next);
}