diff --git a/glib/gslist.c b/glib/gslist.c index f6581a8fa..f8e7dcdc7 100644 --- a/glib/gslist.c +++ b/glib/gslist.c @@ -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. + * + * + * 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)