mirror of
https://github.com/brl/mutter.git
synced 2025-07-31 05:56:11 +00:00
abea3d7ead5b2d91a82d6ac9504ee28986f6c8bb

When the texture is set on a layer so that it is back to the parent's texture it would clear the texture change flag but it wouldn't unref the texture. The free function for a material layer does not unref the texture if the change flag is cleared so the texture would end up leaking. This happens for ClutterTexture because it disposes the texture by setting layer 0 of the material to COGL_INVALID_HANDLE which ends up the same as the default material.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%