diff options
author | Anton Bondarenko <anton.bondarenko.sama@gmail.com> | 2017-05-07 01:53:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-17 11:27:41 +0200 |
commit | 1a744d2eb76aaafb997fda004ae3ae62a1538f85 (patch) | |
tree | c0aa7215ebcb46d6f2db095c08976abc01636004 /drivers/clk | |
parent | USB: iowarrior: fix info ioctl on big-endian hosts (diff) | |
download | linux-1a744d2eb76aaafb997fda004ae3ae62a1538f85.tar.xz linux-1a744d2eb76aaafb997fda004ae3ae62a1538f85.zip |
usb: core: fix potential memory leak in error path during hcd creation
Free memory allocated for address0_mutex if allocation of bandwidth_mutex
failed.
Fixes: feb26ac31a2a ("usb: core: hub: hub_port_init lock controller instead of bus")
Signed-off-by: Anton Bondarenko <anton.bondarenko.sama@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions