Simplify freeing of lists

Arkadiy Illarionov requested to merge qarkai/xfwm4:list-free into master

Reduce full list iterations number.

Merge request reports