[media] radio-si470x: fix memory leak in si470x_usb_driver_probe()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Tue, 31 May 2011 20:54:40 +0000 (17:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:52:21 +0000 (17:52 -0300)
commitf54ba7f199d63cea08b8cc7114cb6c5cd9a042ab
treef5d1c3c216ceb216613634eebe8f1b4d93c9ee69
parentfabc6b85ca1d364f4e3fdcf80f80b393a508e771
[media] radio-si470x: fix memory leak in si470x_usb_driver_probe()

radio->int_in_urb is not deallocated on error paths in si470x_usb_driver_probe().

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/si470x/radio-si470x-usb.c