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

Function dm_api_free_reply

modules/aaa_diameter/dm_impl.c:2217–2224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2215}
2216
2217void dm_api_free_reply(diameter_reply *rpl)
2218{
2219 if (!rpl)
2220 return;
2221 cJSON_InitHooks(&shm_mem_hooks);
2222 cJSON_Delete(rpl->json);
2223 cJSON_InitHooks(NULL);
2224}
2225
2226
2227/* recursively free all AVPs, including grouped ones */

Callers

nothing calls this directly

Calls 2

cJSON_InitHooksFunction · 0.50
cJSON_DeleteFunction · 0.50

Tested by

no test coverage detected