diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2013-10-09 00:50:16 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-11 15:23:14 -0700 |
commit | 47052577bcb941da36a991fea3dadc0d3b14c741 (patch) | |
tree | 6911409bf9ff8c2dfae5b25b5f8e5e7b735a4812 /drivers/staging/xillybus | |
parent | a4d8c83cb55ee58cdbdc4b8a27e3855516efa484 (diff) | |
download | op-kernel-dev-47052577bcb941da36a991fea3dadc0d3b14c741.zip op-kernel-dev-47052577bcb941da36a991fea3dadc0d3b14c741.tar.gz |
staging: gdm7240: fix memory leak on failure path
init_usb() may fail after some of mux_rxes already allocated.
So we need to release them on the failure path.
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>
Diffstat (limited to 'drivers/staging/xillybus')
0 files changed, 0 insertions, 0 deletions