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

Function remove_with_children

common/memleak.c:147–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147static void remove_with_children(struct htable *memtable, const tal_t *p)
148{
149 const tal_t *i;
150
151 memleak_ptr(memtable, p);
152 for (i = tal_first(p); i; i = tal_next(i))
153 remove_with_children(memtable, i);
154}
155
156/* memleak can't see inside hash tables, so do them manually */
157void memleak_scan_htable(struct htable *memtable, const struct htable *ht)

Callers 3

memleak_getFunction · 0.85
memleak_ignore_childrenFunction · 0.85
call_memleak_helpersFunction · 0.85

Calls 3

tal_firstFunction · 0.85
tal_nextFunction · 0.85
memleak_ptrFunction · 0.70

Tested by

no test coverage detected