summaryrefslogtreecommitdiffstats
path: root/video/out/vo.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vo.c')
-rw-r--r--video/out/vo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c
index 32803a0a23..5a1b6f6fcd 100644
--- a/video/out/vo.c
+++ b/video/out/vo.c
@@ -289,8 +289,8 @@ void vo_destroy(struct vo *vo)
{
if (vo->registered_fd != -1)
mp_input_rm_key_fd(vo->input_ctx, vo->registered_fd);
+ mp_image_unrefp(&vo->waiting_mpi);
vo->driver->uninit(vo);
- talloc_free(vo->waiting_mpi);
talloc_free(vo);
}