Просмотр исходного кода

wayland: Fix leaked zxdg_decoration_manager

David Edmundson 4 лет назад
Родитель
Сommit
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)
         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);