mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 08:38:38 +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:
parent
ae9d9054af
commit
8014f51cc1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue