aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-02-05 06:08:45 -0500
committerDavid S. Miller <davem@davemloft.net>2008-02-05 06:08:45 -0500
commitcb7cd42930d4421780e78323f62243350ea14789 (patch)
tree8d14e9b8f58603785fa21128ca5570045230abb3
parent91f5cca3d1b4341624715f6dd01ee09be9af46c4 (diff)
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>
-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)
423 break; 423 break;
424 424
425 default: 425 default:
426 usb_free_urb(urb);
426 return -EILSEQ; 427 return -EILSEQ;
427 } 428 }
428 429