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

Function mq_pv_free

modules/mqueue/mqueue_api.c:275–286  ·  view source on GitHub ↗

* */

Source from the content-addressed store, hash-verified

273 *
274 */
275void mq_pv_free(str *name)
276{
277 mq_pv_t *mp = NULL;
278
279 mp = mq_pv_get(name);
280 if(mp == NULL)
281 return;
282 if(mp->item != NULL) {
283 shm_free(mp->item);
284 mp->item = NULL;
285 }
286}
287
288/**
289 *

Callers 1

w_mq_pv_freeFunction · 0.85

Calls 2

mq_pv_getFunction · 0.85
shm_freeFunction · 0.85

Tested by

no test coverage detected