mirror of
https://github.com/mpv-player/mpv
synced 2025-04-09 11:11:52 +00:00
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:
parent
6573e0a0af
commit
e107342ff9
@ -1254,6 +1254,9 @@ void vo_wayland_uninit(struct vo *vo)
|
|||||||
if (wl->presentation)
|
if (wl->presentation)
|
||||||
wp_presentation_destroy(wl->presentation);
|
wp_presentation_destroy(wl->presentation);
|
||||||
|
|
||||||
|
if (wl->feedback)
|
||||||
|
wp_presentation_feedback_destroy(wl->feedback);
|
||||||
|
|
||||||
if (wl->pointer)
|
if (wl->pointer)
|
||||||
wl_pointer_destroy(wl->pointer);
|
wl_pointer_destroy(wl->pointer);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user