diff options
author | Zhengchao Shao <shaozhengchao@huawei.com> | 2023-01-04 14:46:23 +0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-01-17 15:59:02 -0800 |
commit | 3aa21311f36d8a2730c7ccef37235e951f23927b (patch) | |
tree | 7b27fdf12dd7418773c15e95a05b1fe60594ffb9 /kernel/Kconfig.preempt | |
parent | 3a4d29b6d631bb00236a98887e1039bbfc1b6ab5 (diff) | |
download | linux-3aa21311f36d8a2730c7ccef37235e951f23927b.tar.bz2 |
Bluetooth: hci_conn: Fix memory leaks
When hci_cmd_sync_queue() failed in hci_le_terminate_big() or
hci_le_big_terminate(), the memory pointed by variable d is not freed,
which will cause memory leak. Add release process to error path.
Fixes: eca0ae4aea66 ("Bluetooth: Add initial implementation of BIS connections")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'kernel/Kconfig.preempt')
0 files changed, 0 insertions, 0 deletions