Skip to content
Commit 3a3238d1 authored by Johan Hedberg's avatar Johan Hedberg
Browse files

Bluetooth: GATT: Fix potential bt_conn reference leak



There was a missing bt_conn_unref() when bt_conn_lookup_addr_le()
returns a connection that's not in BT_CONN_CONNECTED state.

Change-Id: I4c6271d5bf596ea4d9b899e99ce1c7b7c8693f5e
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent d27447c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment