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

Function _dm_release_message_response

modules/aaa_diameter/dm_impl.c:2040–2049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2038}
2039
2040void _dm_release_message_response(struct dm_cond *cond, char *rpl_avps)
2041{
2042 cJSON_PurgeString(rpl_avps);
2043 if (cond->rpl.json) {
2044 cJSON_InitHooks(&shm_mem_hooks);
2045 cJSON_Delete(cond->rpl.json);
2046 cJSON_InitHooks(NULL);
2047 cond->rpl.json = NULL;
2048 }
2049}
2050
2051static int _dm_get_message_reply(struct dm_cond *cond, diameter_reply *rpl)
2052{

Callers 2

dm_send_requestFunction · 0.85

Calls 3

cJSON_PurgeStringFunction · 0.85
cJSON_InitHooksFunction · 0.50
cJSON_DeleteFunction · 0.50

Tested by

no test coverage detected