Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bluetooth: ATT: free current buffer when disconnected
`att_send_process` doesn't pass the errors up the stack, so if a disconnection happens during the allocation of a TX context, it will leak buffers. Fixes zephyrproject-rtos#43718 Signed-off-by: Jonathan Rico <[email protected]>
- Loading branch information
shouldn't need to do this, I should rather check that the conn_cleanup does its job properly.