Skip to content

Commit

Permalink
drivers/bluetooth/bpa10x.c: fix memleak
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Feb 5, 2008
1 parent 91f5cca commit cb7cd42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/bluetooth/bpa10x.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ static int bpa10x_send_frame(struct sk_buff *skb)
break;

default:
usb_free_urb(urb);
return -EILSEQ;
}

Expand Down

0 comments on commit cb7cd42

Please sign in to comment.