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

Function free_rt_info

modules/drouting/prefix_tree.c:360–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360void
361free_rt_info(
362 rt_info_t *rl,
363 osips_free_f f
364 )
365{
366 if(NULL == rl)
367 return;
368 if(NULL!=rl->pgwl)
369 func_free(f, rl->pgwl);
370 if(NULL!=rl->time_rec)
371 tmrec_expr_free(rl->time_rec);
372 if (rl->route_ref)
373 shm_free(rl->route_ref);
374 func_free(f, rl);
375 return;
376}
377

Callers 2

del_rt_listFunction · 0.85
dr_load_routing_infoFunction · 0.85

Calls 2

tmrec_expr_freeFunction · 0.85
shm_freeFunction · 0.85

Tested by

no test coverage detected