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

Function memleak_scan_htable

common/memleak.c:157–164  ·  view source on GitHub ↗

memleak can't see inside hash tables, so do them manually */

Source from the content-addressed store, hash-verified

155
156/* memleak can't see inside hash tables, so do them manually */
157void memleak_scan_htable(struct htable *memtable, const struct htable *ht)
158{
159 struct htable_iter i;
160 const void *p;
161
162 for (p = htable_first(ht, &i); p; p = htable_next(ht, &i))
163 memleak_scan_obj(memtable, p);
164}
165
166/* FIXME: If uintmap used tal, this wouldn't be necessary! */
167void memleak_scan_intmap_(struct htable *memtable, const struct intmap *m)

Callers 4

dev_connect_memleakFunction · 0.50
memleak_daemon_cbFunction · 0.50
finish_reportFunction · 0.50
memleak_mark_globalsFunction · 0.50

Calls 1

memleak_scan_objFunction · 0.70

Tested by

no test coverage detected