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

Function _dm_destroy_message

modules/aaa_diameter/dm_impl.c:2244–2257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2242
2243
2244void _dm_destroy_message(aaa_message *msg)
2245{
2246 struct dm_message *dm;
2247
2248 if (!msg)
2249 return;
2250
2251 dm = (struct dm_message *)msg->avpair;
2252 dm_free_avps(&dm->avps);
2253 dm_cond_unref(dm->reply_cond);
2254 shm_free(dm);
2255
2256 shm_free(msg);
2257}
2258
2259int dm_destroy_message(aaa_conn *_, aaa_message *msg)
2260{

Callers 7

dm_peer_loopFunction · 0.85
dm_api_send_reqFunction · 0.85
dm_api_send_req_asyncFunction · 0.85
dm_destroy_messageFunction · 0.85
dm_send_requestFunction · 0.85
dm_send_answerFunction · 0.85
dm_send_request_asyncFunction · 0.85

Calls 3

dm_free_avpsFunction · 0.85
dm_cond_unrefFunction · 0.85
shm_freeFunction · 0.85

Tested by

no test coverage detected