diff options
author | Anton Bondarenko <anton.bondarenko.sama@gmail.com> | 2017-05-06 23:53:46 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-24 05:11:15 (GMT) |
commit | 7b5bce3a5128108ec14dc22e8a9e46cd1a3b6c54 (patch) | |
tree | 00c5dfd7735cf90d7d6fcaa601f723e741beb125 /net/rds | |
parent | 12bfbe157d066696a8b34406cb0e3353346f6fc6 (diff) | |
download | linux-7b5bce3a5128108ec14dc22e8a9e46cd1a3b6c54.tar.xz |
usb: core: fix potential memory leak in error path during hcd creation
commit 1a744d2eb76aaafb997fda004ae3ae62a1538f85 upstream.
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 'net/rds')
0 files changed, 0 insertions, 0 deletions