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

Function ospFreeDialog

modules/osp/cnam.c:211–223  ·  view source on GitHub ↗

* Free dialog structure * param dialog Dialog structure */

Source from the content-addressed store, hash-verified

209 * param dialog Dialog structure
210 */
211static void ospFreeDialog(
212 dlg_t* dialog)
213{
214 if (dialog != NULL) {
215 if (dialog->loc_uri.s != NULL) {
216 pkg_free(dialog->loc_uri.s);
217 }
218 if (dialog->rem_uri.s != NULL) {
219 pkg_free(dialog->rem_uri.s);
220 }
221 pkg_free(dialog);
222 }
223}
224
225/*
226 * Generate NOTIFY additional headers

Callers 1

ospProcessSubscribeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected