Skip to content

Lists free cleanups

Marco Trevisan requested to merge 3v1n0/mutter:list-free-cleanups into master

Use free_full on G(S)List's instead of foreach + free

G(S)List's used in legacy code were free'd using a g_(s)list_foreach + g_(s)list_free, while we can just use g_(s)list_free_full as per GLib 2.28.

So replace code where we were using this legacy codepath.

Also remove meta_free_gslist_and_elements.

Merge request reports