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:
38463e2
)
net/irda/mcs7780: fix memory leaks in mcs_net_open()
author
Alexey Khoroshilov
<khoroshilov@ispras.ru>
Thu, 12 Sep 2013 20:51:20 +0000
(
00:51
+0400)
committer
David S. Miller
<davem@davemloft.net>
Fri, 13 Sep 2013 03:43:56 +0000
(23:43 -0400)
If rx_urb allocation fails in mcs_setup_urbs(), tx_urb leaks.
If mcs_receive_start() fails in mcs_net_open(), the both urbs are not deallocated.
The patch fixes the issues and by the way fixes label indentation.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/mcs7780.c
patch
|
blob
|
history
diff --cc
drivers/net/irda/mcs7780.c
Simple merge