Neil Roberts
7961b1c93d
cogl-material: Don't doubly ref the parent in cogl_material_copy
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%