summaryrefslogtreecommitdiff
path: root/src/sna/sna_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/sna_video.c')
-rw-r--r--src/sna/sna_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_video.c b/src/sna/sna_video.c
index d3788fd0..068b8039 100644
--- a/src/sna/sna_video.c
+++ b/src/sna/sna_video.c
@@ -481,7 +481,7 @@ sna_video_copy_data(struct sna *sna,
else
sna_copy_packed_data(video, frame, buf, dst);
- munmap(dst, video->buf->size);
+ munmap(dst, frame->bo->size);
return TRUE;
}