Browse Source

wayland: Fix leaked zxdg_decoration_manager

David Edmundson 4 years ago
parent
commit
6fd37194bc
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/video/wayland/SDL_waylandvideo.c

+ 3 - 0
src/video/wayland/SDL_waylandvideo.c

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