e7ac3e2715
Use cogl_clear_object() and g_clear_pointer() helpers. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1496