commit | aa5865dc25b29a6cd80f71798503700752490244 | [log] [tgz] |
---|---|---|
author | Young Xiao <92siuyang@gmail.com> | Tue May 28 20:17:54 2019 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 10 09:55:43 2019 +0200 |
tree | 214d8c91580a642c181a7bc14d688d426e385fd6 | |
parent | 689aca72d29d76fef0d53cfa7816f1716ff17f06 [diff] |
usb: gadget: fusb300_udc: Fix memory leak of fusb300->ep[i] [ Upstream commit 62fd0e0a24abeebe2c19fce49dd5716d9b62042d ] There is no deallocation of fusb300->ep[i] elements, allocated at fusb300_probe. The patch adds deallocation of fusb300->ep array elements. Signed-off-by: Young Xiao <92siuyang@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>