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

Function free_trie_data

modules/trie/prefix_tree.c:305–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

303
304
305void free_trie_data(
306 trie_data_t* rt_data,
307 osips_free_f free_f
308 )
309{
310 if(NULL!=rt_data) {
311 del_tree(rt_data->pt, free_f);
312 rt_data->pt = 0 ;
313
314 /* del top level */
315 func_free(free_f, rt_data);
316 }
317}

Callers 3

trie_load_infoFunction · 0.85
trie_reload_data_headFunction · 0.85
trie_exitFunction · 0.85

Calls 1

del_treeFunction · 0.70

Tested by

no test coverage detected