Free a whole radix tree, calling the specified callback in order to * free the auxiliary data. */
| 1496 | /* Free a whole radix tree, calling the specified callback in order to |
| 1497 | * free the auxiliary data. */ |
| 1498 | void raxFreeWithCallback(rax *rax, void (*free_callback)(void*)) { |
| 1499 | raxRecursiveFree(rax,rax->head,free_callback); |
| 1500 | assert(rax->numnodes == 0); |
| 1501 | rax_free(rax); |
| 1502 | } |
| 1503 | |
| 1504 | /* Free a whole radix tree. */ |
| 1505 | void raxFree(rax *rax) { |
no test coverage detected