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> |
||
---|---|---|
.. | ||
zvfs | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.cbprintf | ||
assert.c | ||
cbprintf.c | ||
cbprintf_complete.c | ||
cbprintf_nano.c | ||
cbprintf_packaged.c | ||
fdtable.c | ||
mpsc_pbuf.c | ||
mutex.c | ||
p4wq.c | ||
poweroff.c | ||
printk.c | ||
reboot.c | ||
sem.c | ||
spsc_pbuf.c | ||
thread_entry.c | ||
user_work.c |