mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
display: Destroy compositor using g_clear_pointer
https://gitlab.gnome.org/GNOME/mutter/merge_requests/385
This commit is contained in:
parent
d526283ab9
commit
93c7d571af
@ -975,8 +975,7 @@ meta_display_close (MetaDisplay *display,
|
||||
/* Stop caring about events */
|
||||
meta_display_free_events (display);
|
||||
|
||||
if (display->compositor)
|
||||
meta_compositor_destroy (display->compositor);
|
||||
g_clear_pointer (&display->compositor, meta_compositor_destroy);
|
||||
|
||||
meta_display_shutdown_x11 (display);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user