glist: Clarify that g_list_free() and friends only free an entire list

They shouldn’t be used to free a list from part-way through, as that is confusing and will leave a dangling pointer from the previous list element.

Spotted by Gary Kramlich in !1653 (closed).

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Merge request reports

Loading