Alexey Klimov 647024a7df USB: serial: fix memleak in driver-registration error path
udriver struct allocated by kzalloc() will not be freed
if usb_register() and next calls fail. This patch fixes this
by adding one more step with kfree(udriver) in error path.

Signed-off-by: Alexey Klimov <klimov.linux@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
2016-08-08 13:41:17 +02:00
..
2016-07-15 14:23:21 +02:00
2016-07-16 12:45:39 +02:00
2015-12-18 09:30:34 -08:00
2016-06-07 22:15:25 -07:00
2016-03-17 14:24:26 -07:00
2016-05-20 21:12:25 -07:00