Skip to content
Commit 961d7fc8 authored by june li's avatar june li Committed by Jukka Rissanen
Browse files

net: tcp: Release buf after failing to send



After failing to send the buf we need to release it.
This is not done for Bluetooth or IEEE 802.15.4 links which
create a copy of the sent buf and the failure case is already
checked by net_tcp_send_buf().

Change-Id: Ia556376b58ad74f68accb64eb2221a78d59dc2ec
Signed-off-by: default avatarjune li <junelizh@foxmail.com>
parent 9c0ea2b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment