mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 21:32:14 +00:00
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:
parent
b081e51a21
commit
04f18ae726
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user