summaryrefslogtreecommitdiffstats
path: root/video/out/vo_wayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo_wayland.c')
-rw-r--r--video/out/vo_wayland.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/vo_wayland.c b/video/out/vo_wayland.c
index 2c0d1ef798..c1094bc6a4 100644
--- a/video/out/vo_wayland.c
+++ b/video/out/vo_wayland.c
@@ -651,6 +651,9 @@ static void uninit(struct vo *vo)
for (int i = 0; i < MAX_BUFFERS; ++i)
destroy_shm_buffer(&p->buffers[i]);
+ if (p->redraw_callback)
+ wl_callback_destroy(p->redraw_callback);
+
talloc_free(p->original_image);
vo_wayland_uninit(vo);