From e107342ff929886f1a07cd569847998631ae15c5 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Fri, 14 Aug 2020 18:22:58 -0500 Subject: wayland: destroy presentation feedback on uninit Nothing major but it's technically possible for the wp_presentation_feedback struct to still be allocated when quitting the player. Just destroy it if it exists like all of the other wayland objects. --- video/out/wayland_common.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'video/out/wayland_common.c') diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c index 5c8e0ba550..99aa8ee018 100644 --- a/video/out/wayland_common.c +++ b/video/out/wayland_common.c @@ -1254,6 +1254,9 @@ void vo_wayland_uninit(struct vo *vo) if (wl->presentation) wp_presentation_destroy(wl->presentation); + if (wl->feedback) + wp_presentation_feedback_destroy(wl->feedback); + if (wl->pointer) wl_pointer_destroy(wl->pointer); -- cgit v1.2.3