| 20 | } |
| 21 | |
| 22 | void tal_wally_start(void) |
| 23 | { |
| 24 | if (wally_tal_ctx) { |
| 25 | /* This makes valgrind show us backtraces! */ |
| 26 | *(u8 *)wally_tal_ctx = '\0'; |
| 27 | abort(); |
| 28 | } |
| 29 | |
| 30 | wally_tal_ctx = tal_arr(NULL, char, 0); |
| 31 | } |
| 32 | |
| 33 | void tal_wally_end(const tal_t *parent) |
| 34 | { |