summaryrefslogtreecommitdiff
path: root/drivers/atm
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2013-09-13 00:51:20 +0400
committerDavid S. Miller <davem@davemloft.net>2013-09-13 07:43:56 +0400
commit8947312987e3d8b3457452c27d3bdacde9984f47 (patch)
tree02a4b6c87c06ca57ec787527f3a08febefc1ae38 /drivers/atm
parent38463e2c290426262cd9a75fe66cbbe2925a68c2 (diff)
downloadlinux-8947312987e3d8b3457452c27d3bdacde9984f47.tar.xz
net/irda/mcs7780: fix memory leaks in mcs_net_open()
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>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions