commit | 32856eea7bf75dfb99b955ada6e147f553a11366 | [log] [tgz] |
---|---|---|
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | Wed Jan 11 13:11:08 2017 +0100 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Thu Jan 12 10:05:04 2017 +0200 |
tree | 066483e73bb31b1ba14beafc8b296ca8edfb2c08 | |
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>