media: igorplugusb: prevent use after free in probe error
authorOliver Neukum <oneukum@suse.com>
Thu, 12 May 2022 12:38:47 +0000 (13:38 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 20 Jun 2022 09:30:33 +0000 (10:30 +0100)
commit522f1d7d95fea3238c777148d95c1d793afa40c2
tree36a5dae478c34bb5aa92d84191c8b650f2175d4f
parentb3f820b905c931a969d7d7cfb30f1ab1b071c425
media: igorplugusb: prevent use after free in probe error

The timer uses the URB. Free it only after the timer
has been stopped.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/rc/igorplugusb.c