Skip to content
Commit f15c4e3a authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Alberto Escolar
Browse files

drivers: nsos: fix resource leak in nsos_adapt_accept() error path



Close file descriptor returned by accept() in error path of
nsos_adapt_accept(), so that file descriptor is not leaked.

Signed-off-by: default avatarMarcin Niestroj <m.niestroj@emb.dev>
parent be61ae4c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment