| 24 | } |
| 25 | |
| 26 | void tal_wally_start(void) |
| 27 | { |
| 28 | if (wally_tal_ctx) { |
| 29 | /* This makes valgrind show us backtraces! */ |
| 30 | *(u8 *)wally_tal_ctx = '\0'; |
| 31 | abort(); |
| 32 | } |
| 33 | |
| 34 | wally_tal_ctx = tal_arr(NULL, char, 0); |
| 35 | } |
| 36 | |
| 37 | void tal_wally_discard(void) |
| 38 | { |