MCPcopy Create free account
hub / github.com/ElementsProject/lightning / clear

Function clear

ccan/ccan/strset/strset.c:293–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293static void clear(struct strset n)
294{
295 if (!n.u.s[0]) {
296 if (likely(n.u.n->byte_num != (size_t)-1)) {
297 clear(n.u.n->child[0]);
298 clear(n.u.n->child[1]);
299 }
300 free(n.u.n);
301 }
302}
303
304void strset_clear(struct strset *set)
305{

Callers 1

strset_clearFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected