Skip to content
Snippets Groups Projects
Commit d89b7664 authored by Zheng Xiaowei's avatar Zheng Xiaowei Committed by Greg Kroah-Hartman
Browse files

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: default avatarZheng Xiaowei <zhengxiaowei@ruijie.com.cn>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c413767e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment