| 145 | } |
| 146 | |
| 147 | static void remove_with_children(struct htable *memtable, const tal_t *p) |
| 148 | { |
| 149 | const tal_t *i; |
| 150 | |
| 151 | memleak_ptr(memtable, p); |
| 152 | for (i = tal_first(p); i; i = tal_next(i)) |
| 153 | remove_with_children(memtable, i); |
| 154 | } |
| 155 | |
| 156 | /* memleak can't see inside hash tables, so do them manually */ |
| 157 | void memleak_scan_htable(struct htable *memtable, const struct htable *ht) |
no test coverage detected