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:
1 parent
6573e0a0af
commit
e107342ff9
1 file changed
+3
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user