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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue