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

Function before_free_fn

lib_acl/src/stdlib/memory/vstring_pool.c:88–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88static void before_free_fn(void *obj, void *pool_ctx acl_unused)
89{
90 ACL_VSTRING *vp = (ACL_VSTRING *) obj;
91
92 acl_allocator_membuf_free(__FILE__, __LINE__,
93 __var_allocator, vp->vbuf.data);
94 vp->vbuf.data = NULL;
95}
96
97void vstring_pool_create(ACL_ALLOCATOR *allocator)
98{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…