| 254 | } |
| 255 | |
| 256 | static void add_backtrace_notifiers(const tal_t *root) |
| 257 | { |
| 258 | tal_add_notifier(root, TAL_NOTIFY_ADD_CHILD, add_backtrace); |
| 259 | |
| 260 | for (tal_t *i = tal_first(root); i; i = tal_next(i)) |
| 261 | add_backtrace_notifiers(i); |
| 262 | } |
| 263 | |
| 264 | void memleak_add_helper_(const tal_t *p, |
| 265 | void (*cb)(struct htable *memtable, const tal_t *)) |
no test coverage detected