From 6fd37194bc178dacbda1cb222fb47a44031b2636 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Wed, 7 Apr 2021 16:03:41 +0100 Subject: [PATCH] wayland: Fix leaked zxdg_decoration_manager --- src/video/wayland/SDL_waylandvideo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video/wayland/SDL_waylandvideo.c b/src/video/wayland/SDL_waylandvideo.c index b3b4691ac..e017747a4 100644 --- a/src/video/wayland/SDL_waylandvideo.c +++ b/src/video/wayland/SDL_waylandvideo.c @@ -564,6 +564,9 @@ Wayland_VideoQuit(_THIS) if (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) wl_compositor_destroy(data->compositor);