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