04d8b7c595
The sock_obj_core_dealloc() was not called if close() is called instead of zsock_close(). This happens if POSIX API is enabled. Fix this by calling zvfs_close() from zsock_close() and then pass the socket number to zsock_close_ctx() so that the cleanup can be done properly. Reported-by: Andreas Ålgård <aal@ixys.no> Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
getaddrinfo.c | ||
getnameinfo.c | ||
socket_dispatcher.c | ||
socket_obj_core.c | ||
socket_offload.c | ||
socketpair.c | ||
sockets.c | ||
sockets_can.c | ||
sockets_inet.c | ||
sockets_internal.h | ||
sockets_misc.c | ||
sockets_net_mgmt.c | ||
sockets_packet.c | ||
sockets_service.c | ||
sockets_tls.c |