1
0
Fork 0
mutter-performance-source/cogl
Sebastian Keller 61de313198 cogl: Unconditionally free pipeline shader/program state cache struct
destroy_shader_state()/destroy_program_state() are called when the qdata
pointer to the state cache structure gets overwritten, but were only
conditionally destroying it. This lead to leaks when called with a
shader/program state ref count > 1.

Fixes: 9b9e12edb ("cogl: Port Node/Pipeline/PipelineLayer away from CoglObject")
Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3141
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3366>
2023-11-07 10:15:57 +00:00
..
cogl cogl: Unconditionally free pipeline shader/program state cache struct 2023-11-07 10:15:57 +00:00
cogl-pango cogl/gir: Depend explicitly on Mtk 2023-11-03 11:27:52 +00:00
cogl-config.h.meson cogl: Replace HAVE_TRACING with COGL_HAS_TRACING 2023-10-06 08:38:54 +04:00
meson.build cogl: Drop unnused functions 2023-10-23 16:32:35 +00:00