| 164 | } |
| 165 | |
| 166 | static void remove_with_children(struct htable *memtable, const tal_t *p) |
| 167 | { |
| 168 | const tal_t *i; |
| 169 | |
| 170 | memleak_ptr(memtable, p); |
| 171 | for (i = tal_first(p); i; i = tal_next(i)) |
| 172 | remove_with_children(memtable, i); |
| 173 | } |
| 174 | |
| 175 | /* memleak can't see inside hash tables, so do them manually */ |
| 176 | void memleak_scan_htable(struct htable *memtable, const struct htable *ht) |
no test coverage detected