MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / socket_free

Function socket_free

components/net/sal/src/sal_socket.c:579–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577}
578
579static void socket_free(struct sal_socket_table *st, int idx)
580{
581 struct sal_socket *sock;
582
583 sock = st->sockets[idx];
584 st->sockets[idx] = RT_NULL;
585 rt_free(sock);
586}
587
588static int socket_new(void)
589{

Callers 1

socket_deleteFunction · 0.85

Calls 1

rt_freeFunction · 0.85

Tested by

no test coverage detected