diff options
| author | 2020-07-21 23:15:58 +0300 | |
|---|---|---|
| committer | 2020-07-24 16:45:13 +0300 | |
| commit | 2468c877da428ebfd701142c4cdfefcfb7d4c00e (patch) | |
| tree | 4b77217def6700e872e0002bd34befbd055fa814 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | usb: cdns3: drd: simplify *switch_gadet and *switch_host (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 <novikov@ispras.ru>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
