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

Function handle_strmap

common/memleak.c:195–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195static bool handle_strmap(const char *member, void *p, void *memtable_)
196{
197 struct htable *memtable = memtable_;
198
199 /* membername may *not* be a tal ptr, but it can be! */
200 memleak_ptr(memtable, member);
201 memleak_scan_obj(memtable, p);
202
203 /* Keep going */
204 return true;
205}
206
207/* FIXME: If strmap used tal, this wouldn't be necessary! */
208void 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