V4L/DVB (9689): gspca: Memory leak when disconnect while streaming.
authorJean-Francois Moine <moinejf@free.fr>
Tue, 18 Nov 2008 09:33:08 +0000 (06:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 24 Nov 2008 14:01:07 +0000 (12:01 -0200)
commit98522a7be97f2b23451342e36c39f412f0461e24
tree49da3f3aa6d3b2ffc2cd6143cbcbd79de3b7be51
parent818a557eeb9c16a9a2dc93df348b0ff68fbc487f
V4L/DVB (9689): gspca: Memory leak when disconnect while streaming.

As a side effect, the sd routine stop0 is called on disconnect.
This permits the subdriver to free its resources.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/conex.c
drivers/media/video/gspca/finepix.c
drivers/media/video/gspca/gspca.c
drivers/media/video/gspca/gspca.h
drivers/media/video/gspca/pac7311.c
drivers/media/video/gspca/spca501.c
drivers/media/video/gspca/spca505.c
drivers/media/video/gspca/spca561.c
drivers/media/video/gspca/vc032x.c
drivers/media/video/gspca/zc3xx.c