free the 'data_device_manager'

This commit is contained in:
Christian Rauch 2021-01-31 19:09:44 -08:00
parent f8b4a6e25a
commit a44678465f
1 changed files with 3 additions and 0 deletions

View File

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