V4L/DVB (9691): gspca: Move the video device to a separate area.
authorJean-Francois Moine <moinejf@free.fr>
Wed, 19 Nov 2008 09:37:53 +0000 (06:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 24 Nov 2008 14:01:38 +0000 (12:01 -0200)
commite07a1d8ab20a059fefbfd1558db43701bca560d7
tree834a4dc09da2e86ecbab2ce7ae4a5e2b298ebfd6
parent5c4fa002b1c7b40f65fa911ae17a823ec9e26ab2
V4L/DVB (9691): gspca: Move the video device to a separate area.

The video device was part of the gspca device. On device disconnection
while streaming, the device structure is freed at close time.
In this case, the remaining close job on the video device run out of
allocated memory.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/gspca.c
drivers/media/video/gspca/gspca.h