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)
commitd4db588ccc738528601947d57fd398bb3f55cd31
treed6e994732000572bd9eddfdd28721b8c7904ad20
parent87e3495c316bf3b63512eb280fd4b2d6d3518755
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