From: Adrian Bunk Date: Tue, 5 Feb 2008 11:08:45 +0000 (-0800) Subject: drivers/bluetooth/bpa10x.c: fix memleak X-Git-Tag: v2.6.25-rc1~787^2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=cb7cd42930d4421780e78323f62243350ea14789;p=linux-2.6-omap-h63xx.git drivers/bluetooth/bpa10x.c: fix memleak This patch fixea a memleak spotted by the Coverity checker. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: David S. Miller --- diff --git a/drivers/bluetooth/bpa10x.c b/drivers/bluetooth/bpa10x.c index 1375b5345a0..3b28658f5a1 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; }