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

Function del_rt_list

modules/drouting/prefix_tree.c:344–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342}
343
344void
345del_rt_list(
346 rt_info_wrp_t *rwl,
347 osips_free_f f
348 )
349{
350 rt_info_wrp_t* t=rwl;
351 while(rwl!=NULL) {
352 t=rwl;
353 rwl=rwl->next;
354 if ( (--t->rtl->ref_cnt)==0)
355 free_rt_info(t->rtl, f);
356 func_free(f, t);
357 }
358}
359
360void
361free_rt_info(

Callers 2

del_treeFunction · 0.85
free_rt_dataFunction · 0.85

Calls 1

free_rt_infoFunction · 0.85

Tested by

no test coverage detected