commit | 2fd9c2eac31d8b3c1b719c7dfbbfed17c5cbccc4 | [log] [tgz] |
---|---|---|
author | Jean-Francois Moine <moinejf@free.fr> | Sat Jan 24 07:45:14 2009 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Jan 29 09:06:41 2009 -0200 |
tree | ca5d32900ad8498a19b6e49b5bfa2e58f05e0da7 | |
parent | 9c06210b89e604aa75314d3d173a93292b0d2777 [diff] |
V4L/DVB (10385): gspca - main: Fix memory leak when USB disconnection while streaming. Resetting the streaming flag on disconnection prevented the URBs to be freed when streaming was active. Also, USBs cannot be killed after disconnection (oops in [usbcore] unlink1). Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>