diff options
| author | 2013-10-09 00:50:16 +0400 | |
|---|---|---|
| committer | 2013-10-11 15:23:14 -0700 | |
| commit | 47052577bcb941da36a991fea3dadc0d3b14c741 (patch) | |
| tree | 6911409bf9ff8c2dfae5b25b5f8e5e7b735a4812 /include/linux/kernel.h | |
| parent | staging: gdm7240: alloc_mux_rx() does not need GFP_ATOMIC (diff) | |
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 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions
