]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (10304): buf-dma-contig: fix USERPTR free handling
authorMagnus Damm <damm@igel.co.jp>
Wed, 10 Dec 2008 04:54:32 +0000 (01:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:27 +0000 (12:42 -0300)
commite05c585394f884638daeeb6b984f3f161c433818
treed6e994732000572bd9eddfdd28721b8c7904ad20
parent3e2a0fb7b2bc3da7e2da0c2dcfecf281489222ab
V4L/DVB (10304): buf-dma-contig: fix USERPTR free handling

This patch fixes a free-without-alloc bug for V4L2_MEMORY_USERPTR
video buffers.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf-dma-contig.c