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

Function dset_destroy

dset.c:123–130  ·  view source on GitHub ↗

! Frees a destination set which used to be stored in the global context */

Source from the content-addressed store, hash-verified

121
122/*! Frees a destination set which used to be stored in the global context */
123static void dset_destroy(void *dsct)
124{
125 /* emptry all branches */
126 _empty_branches( (struct dset_ctx *)dsct );
127 /* free attrs/avp for the RURI/0 branch */
128 destroy_avp_list( &((struct dset_ctx *)dsct)->ruri_attrs );
129 pkg_free( dsct );
130}
131
132
133int init_dset(void)

Callers

nothing calls this directly

Calls 2

_empty_branchesFunction · 0.85
destroy_avp_listFunction · 0.85

Tested by

no test coverage detected