mirror of https://github.com/encounter/SDL.git
wayland: Fix leaked zxdg_decoration_manager
This commit is contained in:
parent
f6a09ef1a9
commit
6fd37194bc
|
@ -564,6 +564,9 @@ Wayland_VideoQuit(_THIS)
|
||||||
if (data->shell.zxdg)
|
if (data->shell.zxdg)
|
||||||
zxdg_shell_v6_destroy(data->shell.zxdg);
|
zxdg_shell_v6_destroy(data->shell.zxdg);
|
||||||
|
|
||||||
|
if (data->decoration_manager)
|
||||||
|
zxdg_decoration_manager_v1_destroy(data->decoration_manager);
|
||||||
|
|
||||||
if (data->compositor)
|
if (data->compositor)
|
||||||
wl_compositor_destroy(data->compositor);
|
wl_compositor_destroy(data->compositor);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue