MCPcopy Create free account
hub / github.com/acl-dev/acl / acl_allocator_mem_free

Function acl_allocator_mem_free

lib_acl/src/stdlib/memory/acl_allocator.c:244–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void acl_allocator_mem_free(const char *filename, int line,
245 ACL_ALLOCATOR *allocator, acl_mem_type type, void *obj)
246{
247 const char *myname = "acl_allocator_mem_free";
248 ACL_MEM_POOL *pool;
249
250 CHECK_TYPE(type);
251
252 pool = allocator->MemPools[type];
253 pool->nfree++;
254 allocator->mem_free_fn(filename, line, allocator, pool, obj);
255}
256
257/* Find the best fit ACL_MEM_TYPE_X_BUF type */
258

Callers 2

mempool_bench_testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…