1
0
Fork 0

backend/x11: Free barriers in meta_backend_x11_dispose

Should fix a memory leak.

Fixes: 0debb24e12 ("barriers: Make barriers fully part of the
backend").

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3154>
This commit is contained in:
Michel Dänzer 2023-08-06 12:19:22 +02:00 committed by Marge Bot
parent b081e51a21
commit 04f18ae726

View file

@ -955,6 +955,7 @@ meta_backend_x11_dispose (GObject *object)
G_OBJECT_CLASS (meta_backend_x11_parent_class)->dispose (object);
g_clear_pointer (&priv->barriers, meta_x11_barriers_free);
g_clear_pointer (&priv->xdisplay, XCloseDisplay);
}