mirror of
https://github.com/brl/mutter.git
synced 2025-03-13 06:45:03 +00:00

cogl_material_copy was taking a reference on the original texture when making a copy. However it then calls _cogl_material_set_parent on the material which also takes a reference on the parent. The second reference is cleaned up whenever _cogl_material_unparent is called and this is also called by _cogl_material_free. However, it seems that nothing was cleaning up the first reference. I think the reference is entirely unnecessary so this patch removes it.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%