![Marco Trevisan (Treviño)](/assets/img/avatar_default.png)
When free'ing a pipeline we destroy the BigState first and then the fragment and vertex snippets lists using the big state pointer which is now invalid. This causes a crash when G_SLICE=always-malloc is set and using MALLOC_CHECK_. So, invert the operations by free'ing the snippet lists first, and the big state afterwards. https://gitlab.gnome.org/GNOME/mutter/merge_requests/581 (cherry picked from commit 7e0d185120ea116c91a8db60276971d3fecece80)