summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/bpa10x.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-05 12:08:45 +0100
committerDavid S. Miller <davem@davemloft.net>2008-02-05 12:08:45 +0100
commitcb7cd42930d4421780e78323f62243350ea14789 (patch)
tree8d14e9b8f58603785fa21128ca5570045230abb3 /drivers/bluetooth/bpa10x.c
parentbluetooth: uninlining (diff)
downloadlinux-cb7cd42930d4421780e78323f62243350ea14789.tar.xz
linux-cb7cd42930d4421780e78323f62243350ea14789.zip
drivers/bluetooth/bpa10x.c: fix memleak
This patch fixea a memleak spotted by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bluetooth/bpa10x.c')
-rw-r--r--drivers/bluetooth/bpa10x.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/bpa10x.c b/drivers/bluetooth/bpa10x.c
index 1375b5345a0a..3b28658f5a1f 100644
--- a/drivers/bluetooth/bpa10x.c
+++ b/drivers/bluetooth/bpa10x.c
@@ -423,6 +423,7 @@ static int bpa10x_send_frame(struct sk_buff *skb)
break;
default:
+ usb_free_urb(urb);
return -EILSEQ;
}