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.
This commit is contained in:
Dudemanguy 2020-08-14 18:22:58 -05:00
parent 6573e0a0af
commit e107342ff9
1 changed files with 3 additions and 0 deletions

View File

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