wayland: Fix leaked zxdg_decoration_manager

This commit is contained in:
David Edmundson 2021-04-07 16:03:41 +01:00 committed by Sam Lantinga
parent f6a09ef1a9
commit 6fd37194bc

View file

@ -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);