diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-01-11 13:11:08 +0100 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-01-12 10:05:04 +0200 |
commit | 32856eea7bf75dfb99b955ada6e147f553a11366 (patch) | |
tree | 066483e73bb31b1ba14beafc8b296ca8edfb2c08 /include/uapi | |
parent | 8ae584d1951f241efd45499f8774fd7066f22823 (diff) |
usb: gadget: udc: atmel: remove memory leak
Commit bbe097f092b0 ("usb: gadget: udc: atmel: fix endpoint name")
introduced a memory leak when unbinding the driver. The endpoint names
would not be freed. Solve that by including the name as a string in struct
usba_ep so it is freed when the endpoint is.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions