mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 18:09:10 +00:00
cf8e88768f
In _cogl_material_pre_change_notify if a material with descendants is modified then we create a new material that is a copy of the one being modified and reparent those descendants to the new material. This patch ensures we drop the reference we get from cogl_material_copy since we can rely on the descendants to keep the new material alive.