diff options
| author | Anton Vasilyev <[email protected]> | 2018-08-07 11:44:48 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2018-08-29 07:00:22 +0000 |
| commit | c37bd52836296ecc9a0fc8060b819089aebdbcde (patch) | |
| tree | e04d6148217318c851cab7f251327ecdd43f3648 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | USB: net2280: Fix erroneous synchronization change (diff) | |
| download | kernel-c37bd52836296ecc9a0fc8060b819089aebdbcde.tar.gz kernel-c37bd52836296ecc9a0fc8060b819089aebdbcde.zip | |
usb: gadget: fotg210-udc: Fix memory leak of fotg210->ep[i]
There is no deallocation of fotg210->ep[i] elements, allocated at
fotg210_udc_probe.
The patch adds deallocation of fotg210->ep array elements and simplifies
error path of fotg210_udc_probe().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Anton Vasilyev <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
