| 135 | } |
| 136 | |
| 137 | static void *mempool_realloc_with_mutex(const char *filename, int line, void *ptr, size_t size) |
| 138 | { |
| 139 | void *buf; |
| 140 | |
| 141 | MUTEX_LOCK; |
| 142 | buf = acl_allocator_membuf_realloc(filename, line, __var_allocator, ptr, size); |
| 143 | MUTEX_UNLOCK; |
| 144 | |
| 145 | return (buf); |
| 146 | } |
| 147 | |
| 148 | static char *mempool_strdup_with_mutex(const char *filename, int line, const char *str) |
| 149 | { |
nothing calls this directly
no test coverage detected
searching dependent graphs…