summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-05 03:08:45 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-05 03:08:45 -0800
commitcb7cd42930d4421780e78323f62243350ea14789 (patch)
tree8d14e9b8f58603785fa21128ca5570045230abb3 /drivers/bluetooth
parent91f5cca3d1b4341624715f6dd01ee09be9af46c4 (diff)
downloadlinux-cb7cd42930d4421780e78323f62243350ea14789.tar.gz
linux-cb7cd42930d4421780e78323f62243350ea14789.tar.bz2
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')
-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;
}