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

Function free_cc_flow

modules/call_center/cc_data.c:479–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477
478
479static void free_cc_flow( struct cc_flow *flow)
480{
481 int i;
482
483 if (flow->cid.s)
484 shm_free(flow->cid.s);
485 for( i=0 ; i<MAX_AUDIO ; i++ ) {
486 if (flow->recordings[i].s)
487 shm_free(flow->recordings[i].s);
488 }
489 shm_free(flow);
490}
491
492
493void update_cc_agent_att(struct cc_agent *agent, unsigned long duration)

Callers 4

free_cc_dataFunction · 0.85
add_cc_flowFunction · 0.85
clean_cc_old_dataFunction · 0.85
clean_cc_unref_dataFunction · 0.85

Calls 1

shm_freeFunction · 0.85

Tested by

no test coverage detected