From a44678465f9b84a07077c993afbfdce10bd9e3f9 Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Sun, 31 Jan 2021 19:09:44 -0800 Subject: [PATCH] free the 'data_device_manager' --- src/video/wayland/SDL_waylandvideo.c | 3 +++ 1 file changed, 3 insertions(+) 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);