MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / free_rtpe_sets

Function free_rtpe_sets

modules/rtpengine/rtpengine.c:2110–2123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2108}
2109
2110static void free_rtpe_sets(void)
2111{
2112 struct rtpe_set * crt_list, * last_list;
2113
2114 for(crt_list = (*rtpe_set_list)->rset_first; crt_list != NULL; ){
2115
2116 free_rtpe_nodes(crt_list);
2117 last_list = crt_list;
2118 crt_list = last_list->rset_next;
2119 shm_free(last_list);
2120 }
2121 (*rtpe_set_list)->rset_first = NULL;
2122 (*rtpe_set_list)->rset_last = NULL;
2123}
2124
2125static void disconnect_rtpe_socket(int idx)
2126{

Callers 1

mod_destroyFunction · 0.85

Calls 2

free_rtpe_nodesFunction · 0.85
shm_freeFunction · 0.85

Tested by

no test coverage detected