commit | d3a874e899b073496d1fe89b6a2d1aa50870874d | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Thu Feb 06 01:47:13 2014 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Feb 07 09:19:30 2014 -0800 |
tree | 12430d667d3d0ba12b8664e96e5c8a172faee85b | |
parent | ead00ddca0578aa9984e7e712024aead113e8253 [diff] |
staging: gdm72xx: fix leaks at failure path in gdm_usb_probe() Error handling code in gdm_usb_probe() misses to deallocate tx_ and rx_structs and to do usb_put_dev(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>