mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-09-22 12:42:50 +00:00
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>
This commit is contained in:
parent
91f5cca3d1
commit
cb7cd42930
1 changed files with 1 additions and 0 deletions
|
@ -423,6 +423,7 @@ static int bpa10x_send_frame(struct sk_buff *skb)
|
|||
break;
|
||||
|
||||
default:
|
||||
usb_free_urb(urb);
|
||||
return -EILSEQ;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue