summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Rauch <Rauch.Christian@gmx.de>2021-01-31 19:09:44 -0800
committerChristian Rauch <Rauch.Christian@gmx.de>2021-01-31 19:09:44 -0800
commit164fb712753feaabc3bc48b1f002ae742729febf (patch)
tree5184629d6d0def9447da86ca75835ad5c4903113
parent4a5c7fcb3191c804913d7e8554e67f7506a80498 (diff)
downloadsdl-164fb712753feaabc3bc48b1f002ae742729febf.tar.gz
free the 'data_device_manager'
-rw-r--r--src/video/wayland/SDL_waylandvideo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video/wayland/SDL_waylandvideo.c b/src/video/wayland/SDL_waylandvideo.c
index 6fafe1880..e8315da3b 100644
--- a/src/video/wayland/SDL_waylandvideo.c
+++ b/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);