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

Function release_hf_struct

modules/exec/exec_hf.c:93–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void release_hf_struct( struct hf_wrapper *list )
94{
95 struct hf_wrapper *i, *j, *nexts, *nexto;
96
97 i=list;
98 while(i) {
99 nexto=i->next_other;
100 j=i->next_same;
101 pkg_free(i);
102 /* release list of same type hf */
103 while(j) {
104 nexts=j->next_same;
105 pkg_free(j);
106 j=nexts;
107 }
108 i=nexto;
109 }
110}
111
112/* if that is some of well-known header fields which have compact
113 * form, return canonical form ... returns 1 and sets params;

Callers 4

w_execFunction · 0.85
w_async_execFunction · 0.85
build_hf_structFunction · 0.85
set_envFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected