summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/out/wayland_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/wayland_common.c b/video/out/wayland_common.c
index 480f29638b..a41fb6680a 100644
--- a/video/out/wayland_common.c
+++ b/video/out/wayland_common.c
@@ -946,8 +946,8 @@ void vo_wayland_uninit(struct vo *vo)
struct vo_wayland_state *wl = vo->wayland;
destroy_cursor(wl);
destroy_window(wl);
- destroy_display(wl);
destroy_input(wl);
+ destroy_display(wl);
for (int n = 0; n < 2; n++)
close(wl->wakeup_pipe[n]);
talloc_free(wl);