git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
704936a
)
[PATCH] usbserial: Fixes leak in serial_open() error path.
author
Luiz Fernando Capitulino
<lcapitulino@mandriva.com.br>
Fri, 12 May 2006 01:34:24 +0000
(22:34 -0300)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 12 May 2006 18:58:09 +0000
(11:58 -0700)
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>
No differences found