diff options
author | Alexandre Belloni <[email protected]> | 2017-01-11 13:11:08 +0100 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2017-01-12 10:05:04 +0200 |
commit | 32856eea7bf75dfb99b955ada6e147f553a11366 (patch) | |
tree | 066483e73bb31b1ba14beafc8b296ca8edfb2c08 /lib/netdev-notifier-error-inject.c | |
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 <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions