Skip to content
Commit a9961593 authored by Théo Battrel's avatar Théo Battrel Committed by Carles Cufí
Browse files

Bluetooth: Host: Fix connection reference leak



If connection reference is acquired from `bt_conn_lookup_addr_le` but
`bt_gatt_ccc_cfg_is_matching_conn` return false the connection was not
unreferenced properly. This commit fix the issue by unreferencing the
connection if the condition is false.

Signed-off-by: default avatarThéo Battrel <theo.battrel@nordicsemi.no>
parent d72c1768
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment