Skip to content
Commit 5110629a authored by Robert Lubos's avatar Robert Lubos Committed by Maureen Helm
Browse files

net: mqtt: Fix SOCKS5 setsockopt error handling



Transports should close the socket in case of `setsockopt()` failure,
otherwise we end up with a leaked socket, as it won't be closed
elsewhere.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent abbc89f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment