Commit 8530a3b0 authored by Chris Kühl's avatar Chris Kühl

Added note in g_slist_free about using *free_full to mirror GList docs

parent 1a638926
......@@ -159,6 +159,12 @@ g_slist_alloc (void)
* Frees all of the memory used by a #GSList.
* The freed elements are returned to the slice allocator.
* <note><para>
* If list elements contain dynamically-allocated memory,
* you should either use g_slist_free_full() or free them manually
* first.
* </para></note>
g_slist_free (GSList *list)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment