| 29 | } |
| 30 | |
| 31 | static void *tal_reallocfn(void *ptr, size_t size) |
| 32 | { |
| 33 | if (!ptr) |
| 34 | return opt_allocfn(size); |
| 35 | tal_resize_(&ptr, 1, size, false); |
| 36 | return ptr; |
| 37 | } |
| 38 | |
| 39 | static void tal_freefn(void *ptr) |
| 40 | { |
nothing calls this directly
no test coverage detected