diff options
| author | Evgeny Novikov <[email protected]> | 2020-07-21 23:15:58 +0300 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2020-07-24 16:45:13 +0300 |
| commit | 2468c877da428ebfd701142c4cdfefcfb7d4c00e (patch) | |
| tree | 4b77217def6700e872e0002bd34befbd055fa814 /drivers/fpga/fpga-bridge.c | |
| parent | b2aeb6da3d6ee562e57ad3a7d73a7de0c36ce8eb (diff) | |
usb: gadget: net2280: fix memory leak on probe error handling paths
Driver does not release memory for device on error handling paths in
net2280_probe() when gadget_release() is not registered yet.
The patch fixes the bug like in other similar drivers.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Evgeny Novikov <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions