commit | f5335e00f30ef69f093e5074ecf8ef5e778baf3b | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Sat Mar 08 01:11:49 2014 +0400 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Mar 14 14:49:13 2014 -0400 |
tree | 7bb578c09a10eb5865d983d1829e3a014eaf7b08 | |
parent | 3e3cb6caea8a86cebfafed349184c125d563cbc1 [diff] |
p54usb: fix leaks at failure path in p54u_probe() If p54u_load_firmware() fails, p54u_probe() does not deallocate already allocated resources. The patch adds proper failure handling. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Acked-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>