V4L/DVB (12369): stv680: kfree called before usb_kill_urb
authorOliver Neukum <oliver@neukum.org>
Tue, 28 Jul 2009 14:52:10 +0000 (11:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:18:28 +0000 (12:18 -0300)
commit085575a325de87b4931a43c9d0a75ca0d3ba5075
tree9cc12091b7856d6cf3db50f01f4b6c5de3550c8e
parentf5d887ae60ea1b05fcdab65e51e1ef88398ed274
V4L/DVB (12369): stv680: kfree called before usb_kill_urb

The irq handler will touch memory. Even in the error case some URBs may
complete. Thus no memory must be kfreed before all URBs are killed.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/stv680.c