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
1 changed files with 1 additions and 2 deletions
|
@ -975,8 +975,7 @@ meta_display_close (MetaDisplay *display,
|
||||||
/* Stop caring about events */
|
/* Stop caring about events */
|
||||||
meta_display_free_events (display);
|
meta_display_free_events (display);
|
||||||
|
|
||||||
if (display->compositor)
|
g_clear_pointer (&display->compositor, meta_compositor_destroy);
|
||||||
meta_compositor_destroy (display->compositor);
|
|
||||||
|
|
||||||
meta_display_shutdown_x11 (display);
|
meta_display_shutdown_x11 (display);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue