Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
z_free_fd() is called twice then you close(). For example in ublox sara r4 driver offload_close() calls modem_socket_put() where z_free_fd() is called first time. Then this same function is called another time in socket.c in z_impl_zsock_close() after this function has called offload_close() in ublox sara r4 driver. This causes socket descriptor leak. Fixes #26819 Signed-off-by: Akseli Peltola <[email protected]>
- Loading branch information