Jan Safrata
0658a3366d
usb: use usb_serial_put in usb_serial_probe errors
...
The use of kfree(serial) in error cases of usb_serial_probe
was invalid - usb_serial structure allocated in create_serial()
gets reference of usb_device that needs to be put, so we need
to use usb_serial_put() instead of simple kfree().
Signed-off-by: Jan Safrata <jan.nikitenko@gmail.com>
Acked-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-13 17:26:11 -07:00
..
2012-05-15 16:27:08 -07:00
2012-05-15 16:27:11 -07:00
2012-05-15 16:27:11 -07:00
2012-05-14 09:30:40 -07:00
2012-05-16 08:36:13 -07:00
2012-06-12 16:05:59 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-05-15 16:27:17 -07:00
2012-06-12 16:05:44 -07:00
2012-06-12 16:05:44 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-06-13 14:01:56 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-05-15 16:27:20 -07:00
2012-05-08 15:46:14 -07:00
2012-05-15 16:27:23 -07:00
2012-05-08 15:46:14 -07:00
2012-05-10 12:46:20 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-05-10 12:46:20 -07:00
2012-06-12 16:09:49 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-06-12 16:09:50 -07:00
2012-05-08 15:46:14 -07:00
2012-05-15 16:27:25 -07:00
2012-05-08 15:46:14 -07:00
2012-05-10 14:35:21 -07:00
2012-06-12 16:25:01 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-06-12 16:05:44 -07:00
2012-05-10 14:05:01 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-06-12 16:05:59 -07:00
2012-05-15 16:27:30 -07:00
2012-05-08 15:46:14 -07:00
2012-05-15 16:27:32 -07:00
2012-05-11 15:14:07 -07:00
2012-05-11 15:14:07 -07:00
2012-05-08 15:46:14 -07:00
2012-05-03 16:45:00 -07:00
2012-06-13 17:26:11 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00
2012-05-08 15:46:14 -07:00