diff options
author | Anton Vasilyev <vasilyev@ispras.ru> | 2018-08-07 13:44:48 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-08-29 09:00:22 +0200 |
commit | c37bd52836296ecc9a0fc8060b819089aebdbcde (patch) | |
tree | e04d6148217318c851cab7f251327ecdd43f3648 /drivers/usb/isp1760 | |
parent | USB: net2280: Fix erroneous synchronization change (diff) | |
download | linux-c37bd52836296ecc9a0fc8060b819089aebdbcde.tar.xz linux-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 <vasilyev@ispras.ru>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/isp1760')
0 files changed, 0 insertions, 0 deletions