diff options
author | Adam Baker <[email protected]> | 2009-02-04 15:33:21 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2009-02-17 09:43:09 -0300 |
commit | ad28127d7c7c617bca1d426f95b6ffa1fb8f700f (patch) | |
tree | 1cdc54428ff54a316d212c7beeb13791cdac248b /net/lapb/lapb_subr.c | |
parent | 28100165c3f27f681fee8b60e4e44f64a739c454 (diff) |
V4L/DVB (10619): gspca - main: Destroy the URBs at disconnection time.
If a device using the gspca framework is unplugged while it is still streaming
then the call that is used to free the URBs that have been allocated occurs
after the pointer it uses becomes invalid at the end of gspca_disconnect.
Make another cleanup call in gspca_disconnect while the pointer is still
valid (multiple calls are OK as destroy_urbs checks for pointers already
being NULL.
Signed-off-by: Adam Baker <[email protected]>
Signed-off-by: Jean-Francois Moine <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions