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

Function do_free_params

parser/parse_param.c:447–457  ·  view source on GitHub ↗

* Free linked list of parameters */

Source from the content-addressed store, hash-verified

445 * Free linked list of parameters
446 */
447static inline void do_free_params(param_t* _p, int _shm)
448{
449 param_t* ptr;
450
451 while(_p) {
452 ptr = _p;
453 _p = _p->next;
454 if (_shm) shm_free(ptr);
455 else pkg_free(ptr);
456 }
457}
458
459
460/*

Callers 3

free_paramsFunction · 0.85
shm_free_paramsFunction · 0.85
do_duplicate_paramsFunction · 0.85

Calls 1

shm_freeFunction · 0.85

Tested by

no test coverage detected