diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 2227b5abc9881795a1be98f570135e7eaf3be1e8..3bcb5c760b26c45be21a86494e4c6676288c8697 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c @@ -3898,6 +3898,7 @@ void hci_cleanup_dev(struct hci_dev *hdev) hci_dev_unlock(hdev); ida_simple_remove(&hci_index_ida, hdev->id); + kfree_skb(hdev->sent_cmd); } /* Suspend HCI device */