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

Function add_backtrace_notifiers

common/memleak.c:299–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299static void add_backtrace_notifiers(const tal_t *root)
300{
301 tal_add_notifier(root, TAL_NOTIFY_ADD_CHILD, add_backtrace);
302 tal_add_notifier(root, TAL_NOTIFY_STEAL, add_steal);
303
304 for (tal_t *i = tal_first(root); i; i = tal_next(i))
305 add_backtrace_notifiers(i);
306}
307
308void memleak_add_helper_(const tal_t *p,
309 void (*cb)(struct htable *memtable, const tal_t *))

Callers 1

memleak_initFunction · 0.85

Calls 2

tal_firstFunction · 0.85
tal_nextFunction · 0.85

Tested by

no test coverage detected