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

Function remove_with_children

common/memleak.c:166–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166static void remove_with_children(struct htable *memtable, const tal_t *p)
167{
168 const tal_t *i;
169
170 memleak_ptr(memtable, p);
171 for (i = tal_first(p); i; i = tal_next(i))
172 remove_with_children(memtable, i);
173}
174
175/* memleak can't see inside hash tables, so do them manually */
176void 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