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

Function dm_destroy_message

modules/aaa_diameter/dm_impl.c:2259–2270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2257}
2258
2259int dm_destroy_message(aaa_conn *_, aaa_message *msg)
2260{
2261 if (!msg)
2262 return 0;
2263
2264 /* let the peer process be the one who cleans it up */
2265 if (msg->last_found == DM_MSG_SENT)
2266 return 0;
2267
2268 _dm_destroy_message(msg);
2269 return 0;
2270}
2271
2272#define enc_type2func(t) ((t < AVP_ENC_TYPE_NONE)?&dict_avp_enc[t]:NULL)
2273

Callers

nothing calls this directly

Calls 1

_dm_destroy_messageFunction · 0.85

Tested by

no test coverage detected