Free any children of tmpctx. */
| 127 | |
| 128 | /* Free any children of tmpctx. */ |
| 129 | void clean_tmpctx(void) |
| 130 | { |
| 131 | const tal_t *p; |
| 132 | |
| 133 | /* Don't actually free tmpctx: we hand pointers to it around. */ |
| 134 | while ((p = tal_first(tmpctx)) != NULL) |
| 135 | tal_free(p); |
| 136 | } |
| 137 | |
| 138 | void tal_arr_remove_(void *p, size_t elemsize, size_t n) |
| 139 | { |
no test coverage detected