diff options
author | Anton Vasilyev <vasilyev@ispras.ru> | 2018-08-07 14:44:48 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-08-29 10:00:22 +0300 |
commit | c37bd52836296ecc9a0fc8060b819089aebdbcde (patch) | |
tree | e04d6148217318c851cab7f251327ecdd43f3648 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | dec3c23c9aa1815f07d98ae0375b4cbc10971e13 (diff) |
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/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions