MCPcopy Create free account
hub / github.com/F-Stack/f-stack / raxFreeWithCallback

Function raxFreeWithCallback

app/redis-6.2.6/src/rax.c:1242–1246  ·  view source on GitHub ↗

Free a whole radix tree, calling the specified callback in order to * free the auxiliary data. */

Source from the content-addressed store, hash-verified

1240/* Free a whole radix tree, calling the specified callback in order to
1241 * free the auxiliary data. */
1242void raxFreeWithCallback(rax *rax, void (*free_callback)(void*)) {
1243 raxRecursiveFree(rax,rax->head,free_callback);
1244 assert(rax->numnodes == 0);
1245 rax_free(rax);
1246}
1247
1248/* Free a whole radix tree. */
1249void raxFree(rax *rax) {

Callers 6

freeTrackingRadixTreeFunction · 0.85
raxFreeFunction · 0.85
resetErrorTableStatsFunction · 0.85
ACLFreeUsersSetFunction · 0.85
freeStreamFunction · 0.85
streamFreeCGFunction · 0.85

Calls 1

raxRecursiveFreeFunction · 0.85

Tested by

no test coverage detected