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

Function free_tr_param

transformations.c:3901–3914  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3899}
3900
3901void free_tr_param(tr_param_t *tp)
3902{
3903 tr_param_t *tp0;
3904
3905 if(tp==NULL) return;
3906 while(tp)
3907 {
3908 tp0 = tp;
3909 tp = tp->next;
3910 if(tp0->type==TR_PARAM_SPEC)
3911 pv_spec_free((pv_spec_t*)tp0->v.data);
3912 pkg_free(tp0);
3913 }
3914}

Callers 3

parse_transformationFunction · 0.85
tr_parse_stringFunction · 0.85
free_transformationFunction · 0.85

Calls 1

pv_spec_freeFunction · 0.85

Tested by

no test coverage detected