projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
[linux-2.6-microblaze.git]
/
drivers
/
bluetooth
/
hci_bcsp.c
diff --git
a/drivers/bluetooth/hci_bcsp.c
b/drivers/bluetooth/hci_bcsp.c
index
82b13fa
..
fe2e307
100644
(file)
--- a/
drivers/bluetooth/hci_bcsp.c
+++ b/
drivers/bluetooth/hci_bcsp.c
@@
-744,6
+744,11
@@
static int bcsp_close(struct hci_uart *hu)
skb_queue_purge(&bcsp->rel);
skb_queue_purge(&bcsp->unrel);
+ if (bcsp->rx_skb) {
+ kfree_skb(bcsp->rx_skb);
+ bcsp->rx_skb = NULL;
+ }
+
kfree(bcsp);
return 0;
}