diff options
author | Zheng Xiaowei <zhengxiaowei@ruijie.com.cn> | 2018-07-20 18:05:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-20 18:17:21 +0300 |
commit | d89b7664f76047e7beca8f07e86f2ccfad085a28 (patch) | |
tree | 1d3f59acb0c39dbea8fb935e5e69ab5d338feaef /arch | |
parent | c413767e6698ae24ac1904827314470cacff1497 (diff) | |
download | linux-d89b7664f76047e7beca8f07e86f2ccfad085a28.tar.xz |
usb: xhci: Fix memory leak in xhci_endpoint_reset()
If td_list is not empty the cfg_cmd will not be freed,
call xhci_free_command to free it.
Signed-off-by: Zheng Xiaowei <zhengxiaowei@ruijie.com.cn>
Cc: <stable@vger.kernel.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions