| 16 | static void (*reftable_free_ptr)(void *); |
| 17 | |
| 18 | void *reftable_malloc(size_t sz) |
| 19 | { |
| 20 | if (!sz) |
| 21 | return NULL; |
| 22 | if (reftable_malloc_ptr) |
| 23 | return (*reftable_malloc_ptr)(sz); |
| 24 | return malloc(sz); |
| 25 | } |
| 26 | |
| 27 | void *reftable_realloc(void *p, size_t sz) |
| 28 | { |
no outgoing calls
no test coverage detected