mutter/cogl
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 7e0d185120)
2019-05-27 22:40:24 +00:00
..
build/autotools move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
cogl cogl/pipeline: Don't try to access to free'd pointer data 2019-05-27 22:40:24 +00:00
cogl-gles2 build: Clean up .pc files 2017-02-15 23:54:07 +01:00
cogl-pango Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
cogl-path Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
test-fixtures Don't use config.h in clutter and cogl 2016-07-20 14:23:48 +08:00
tests Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
.gitignore Make it possible to include private cogl API from mutter 2016-07-20 14:23:48 +08:00
cogl-mutter-config.h.in Make it possible to include private cogl API from mutter 2016-07-20 14:23:48 +08:00
config-custom.h move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00
configure.ac Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
Makefile.am move everything into a cogl/ directory 2016-04-22 16:44:31 +02:00