| 25 | } |
| 26 | |
| 27 | void *reftable_realloc(void *p, size_t sz) |
| 28 | { |
| 29 | if (!sz) { |
| 30 | reftable_free(p); |
| 31 | return NULL; |
| 32 | } |
| 33 | |
| 34 | if (reftable_realloc_ptr) |
| 35 | return (*reftable_realloc_ptr)(p, sz); |
| 36 | return realloc(p, sz); |
| 37 | } |
| 38 | |
| 39 | void reftable_free(void *p) |
| 40 | { |
no test coverage detected