Luiz Fernando Capitulino 71a84163ca [PATCH] usbserial: Fixes leak in serial_open() error path.
If serial_open() fails at the port assignment or mutex_lock_interruptible()
is interrupted, the 'serial' object will never be freed.

We should call kref_put() when those errors happens.

Signed-off-by: Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-05-12 11:58:09 -07:00
..
2006-04-11 06:18:46 -07:00
2006-05-03 20:05:41 -07:00
2006-04-11 06:18:40 -07:00
2006-04-11 06:18:43 -07:00
2006-05-01 18:17:46 -07:00
2006-05-03 20:05:41 -07:00
2006-03-23 07:38:16 -08:00
2006-03-24 18:23:14 +01:00
2006-04-21 10:59:00 -07:00