| 40 | } |
| 41 | |
| 42 | static void *tal_reallocfn(void *ptr, size_t size) |
| 43 | { |
| 44 | if (!ptr) |
| 45 | return opt_allocfn(size); |
| 46 | tal_resize_(&ptr, 1, size, false); |
| 47 | return ptr; |
| 48 | } |
| 49 | |
| 50 | static void tal_freefn(void *ptr) |
| 51 | { |
nothing calls this directly
no test coverage detected