mirror of
https://github.com/brl/mutter.git
synced 2025-01-22 09:29:25 +00:00
49dcf50727
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)