| 360 | } |
| 361 | |
| 362 | void acl_allocator_membuf_free(const char *filename, int line, |
| 363 | ACL_ALLOCATOR *allocator, void *buf) |
| 364 | { |
| 365 | size_t gross_size; |
| 366 | acl_mem_type type; |
| 367 | |
| 368 | acl_default_memstat(filename, line, buf, &gross_size, NULL); |
| 369 | type = memBufFindSizeType(gross_size, NULL); |
| 370 | |
| 371 | if (type != ACL_MEM_TYPE_NONE) |
| 372 | acl_allocator_mem_free(filename, line, allocator, type, buf); |
| 373 | else |
| 374 | acl_default_free(filename, line, buf); |
| 375 | } |
| 376 | |
| 377 | int acl_allocator_pool_ifused(ACL_ALLOCATOR *allocator, acl_mem_type type) |
| 378 | { |
no test coverage detected
searching dependent graphs…