mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 18:09:10 +00:00
Robert Bragg
de1f4885dd
material: Avoid possibly reading invalid memory
in _cogl_material_prune_empty_layer_difference we sometimes unref the given layer before dereferencing it to get a pointer to its parent. This defers the unref until after we have fetched the parent pointer.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%