net/local: Allow the local udp socketpair function to use the local_release_fifos interface.

Signed-off-by: liqinhui <liqinhui@xiaomi.com>
This commit is contained in:
liqinhui 2023-09-27 16:17:16 +08:00 committed by Xiang Xiao
parent ae9d9054af
commit 8014f51cc1

View file

@ -207,10 +207,10 @@ void local_free(FAR struct local_conn_s *conn)
}
#endif /* CONFIG_NET_LOCAL_SCM */
#ifdef CONFIG_NET_LOCAL_STREAM
/* Destroy all FIFOs associted with the connection */
local_release_fifos(conn);
#ifdef CONFIG_NET_LOCAL_STREAM
nxsem_destroy(&conn->lc_waitsem);
nxsem_destroy(&conn->lc_donesem);
#endif