MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_intern_free

Function cbm_intern_free

src/foundation/str_intern.c:63–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void cbm_intern_free(CBMInternPool *pool) {
64 if (!pool) {
65 return;
66 }
67 cbm_arena_destroy(&pool->arena);
68 free(pool->buckets);
69 free(pool);
70}
71
72static void intern_resize(CBMInternPool *p) {
73 uint32_t new_cap = p->capacity * PAIR_LEN;

Callers 1

test_str_intern.cFile · 0.85

Calls 1

cbm_arena_destroyFunction · 0.70

Tested by

no test coverage detected