ソースを参照

wayland: Fix leaked zxdg_decoration_manager

David Edmundson 5 年 前
コミット
6fd37194bc
1 ファイル変更3 行追加0 行削除
  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);