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

Function handle_strmap

common/memleak.c:176–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176static bool handle_strmap(const char *member, void *p, void *memtable_)
177{
178 struct htable *memtable = memtable_;
179
180 /* membername may *not* be a tal ptr, but it can be! */
181 memleak_ptr(memtable, member);
182 memleak_scan_obj(memtable, p);
183
184 /* Keep going */
185 return true;
186}
187
188/* FIXME: If strmap used tal, this wouldn't be necessary! */
189void memleak_scan_strmap_(struct htable *memtable, const struct strmap *m)

Callers

nothing calls this directly

Calls 2

memleak_ptrFunction · 0.70
memleak_scan_objFunction · 0.70

Tested by

no test coverage detected