carl9170: fix leaks at failure path in carl9170_usb_probe()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Sat, 28 Sep 2013 03:51:51 +0000 (23:51 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 22 May 2014 18:04:36 +0000 (14:04 -0400)
carl9170_usb_probe() does not handle request_firmware_nowait() failure
that leads to several leaks in this case.
The patch adds all required deallocations.

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

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found