net: context: Make sure TCP allocation is not leaked
If we have allocated a TCP connection, and if after that we get an error like EADDRINUSE, then we must de-allocate the TCP connection otherwise there is a buffer leak. Signed-off-by:Jukka Rissanen <jukka.rissanen@nordicsemi.no> (cherry picked from commit 909710b5)
Loading
Please sign in to comment