소스 검색

free the 'data_device_manager'

Christian Rauch 4 년 전
부모
커밋
a44678465f
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/video/wayland/SDL_waylandvideo.c

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

@@ -539,6 +539,9 @@ Wayland_VideoQuit(_THIS)
     Wayland_touch_destroy(data);
 #endif /* SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH */
 
+    if (data->data_device_manager)
+        wl_data_device_manager_destroy(data->data_device_manager);
+
     if (data->shm)
         wl_shm_destroy(data->shm);