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

Function memleak_scan_intmap_

common/memleak.c:167–174  ·  view source on GitHub ↗

FIXME: If uintmap used tal, this wouldn't be necessary! */

Source from the content-addressed store, hash-verified

165
166/* FIXME: If uintmap used tal, this wouldn't be necessary! */
167void memleak_scan_intmap_(struct htable *memtable, const struct intmap *m)
168{
169 void *p;
170 intmap_index_t i;
171
172 for (p = intmap_first_(m, &i); p; p = intmap_after_(m, &i))
173 memleak_scan_obj(memtable, p);
174}
175
176static bool handle_strmap(const char *member, void *p, void *memtable_)
177{

Callers

nothing calls this directly

Calls 3

intmap_first_Function · 0.85
intmap_after_Function · 0.85
memleak_scan_objFunction · 0.70

Tested by

no test coverage detected