Marco Trevisan (Treviño) 49dcf50727 cogl/pipeline: Don't try to access to free'd pointer data
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)
2019-05-27 22:40:24 +00:00
..
2016-07-20 14:23:48 +08:00
2016-07-20 14:23:48 +08:00
2018-04-25 09:03:58 +00:00
2016-07-22 10:44:19 +08:00
2018-03-21 13:22:35 +08:00
2016-07-20 14:23:48 +08:00