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

Function pv_free_extra_list

pvar.c:5942–5960  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

5940 *
5941 */
5942int pv_free_extra_list(void)
5943{
5944 pv_extra_p xe;
5945 pv_extra_p xe1;
5946 if(_pv_extra_list!=0)
5947 {
5948 xe = *_pv_extra_list;
5949 while(xe!=0)
5950 {
5951 xe1 = xe;
5952 xe = xe->next;
5953 pkg_free(xe1);
5954 }
5955 pkg_free(_pv_extra_list);
5956 _pv_extra_list = 0;
5957 }
5958
5959 return 0;
5960}
5961
5962static pv_context_t* new_pv_context(const str* name, pv_contextf_t get_context)
5963{

Callers 1

cleanupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected