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

Function free_via_list

parser/parse_via.c:2319–2328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2317
2318
2319void free_via_list(struct via_body* vb)
2320{
2321 struct via_body* foo;
2322 while(vb){
2323 foo=vb;
2324 vb=vb->next;
2325 if (foo->param_lst) free_via_param_list(foo->param_lst);
2326 pkg_free(foo);
2327 }
2328}

Callers 4

tr_eval_viaFunction · 0.85
sip_validate_hdrsFunction · 0.85
get_hdr_field_auxFunction · 0.85
clean_hdr_fieldFunction · 0.85

Calls 1

free_via_param_listFunction · 0.85

Tested by

no test coverage detected