Anton Bondarenko 1a744d2eb7 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>
2017-05-17 11:27:41 +02:00
..
2017-05-17 11:27:41 +02:00
2016-11-18 16:02:15 +01:00
2017-03-27 09:19:32 +02:00
2017-04-11 14:41:29 -06:00
2017-05-17 11:27:41 +02:00
2017-03-24 17:22:22 +01:00