| 319 | } |
| 320 | |
| 321 | static void *tal_reallocfn(void *ptr, size_t size) |
| 322 | { |
| 323 | if (!ptr) |
| 324 | return opt_allocfn(size); |
| 325 | tal_resize_(&ptr, 1, size, false); |
| 326 | return ptr; |
| 327 | } |
| 328 | |
| 329 | static void tal_freefn(void *ptr) |
| 330 | { |
nothing calls this directly
no test coverage detected