Skip to content
Commit 543acefc authored by Carles Cufi's avatar Carles Cufi Committed by Anas Nashif
Browse files

samples: bluetooth: hci: Fix TX memory leak



Whenever a buffer is sent to the driver via bt_raw using bt_send() the
buffer might not be consumed if an error is returned. In that case
unreference the buffer to avoid leaking the already allocated net_buf.

Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent f913f9b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment