MCPcopy Index your code
hub / github.com/F-Stack/f-stack / mac_socket_destroy

Function mac_socket_destroy

freebsd/security/mac/mac_socket.c:183–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void
184mac_socket_destroy(struct socket *so)
185{
186
187 if (so->so_label != NULL) {
188 mac_socket_label_free(so->so_label);
189 so->so_label = NULL;
190 mac_socketpeer_label_free(so->so_peerlabel);
191 so->so_peerlabel = NULL;
192 }
193}
194
195void
196mac_socket_copy_label(struct label *src, struct label *dest)

Callers 1

sodeallocFunction · 0.85

Calls 2

mac_socket_label_freeFunction · 0.85

Tested by

no test coverage detected