Free any children of tmpctx. */
| 164 | |
| 165 | /* Free any children of tmpctx. */ |
| 166 | void clean_tmpctx(void) |
| 167 | { |
| 168 | const tal_t *p; |
| 169 | |
| 170 | /* Don't actually free tmpctx: we hand pointers to it around. */ |
| 171 | while ((p = tal_first(tmpctx)) != NULL) |
| 172 | tal_free(p); |
| 173 | } |
| 174 | |
| 175 | void tal_arr_remove_(void *p, size_t elemsize, size_t n) |
| 176 | { |
no test coverage detected