mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
usb: core: fix potential memory leak in error path during hcd creation
commit1a744d2eb7upstream. Free memory allocated for address0_mutex if allocation of bandwidth_mutex failed. Fixes:feb26ac31a("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>
This commit is contained in:
parent
12bfbe157d
commit
7b5bce3a51
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue