[ldv-project] [PATCH] p54usb: fix leaks at failure path in p54u_probe()

Christian Lamparter chunkeey at googlemail.com
Sat Mar 8 01:27:34 MSK 2014


On Saturday, March 08, 2014 01:11:49 AM Alexey Khoroshilov wrote:
> 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 at ispras.ru>
Acked-by: Christian Lamparter <chunkeey at googlemail.com>




More information about the ldv-project mailing list