mirror of
https://github.com/apache/nuttx.git
synced 2025-12-13 23:17:11 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user