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

Function free_node_strings

src/graph_buffer/graph_buffer.c:251–255  ·  view source on GitHub ↗

Free a single node's owned strings. label and file_path are interned * (pool-owned) — NOT freed here; the pool frees them once in cbm_gbuf_free. */

Source from the content-addressed store, hash-verified

249/* Free a single node's owned strings. label and file_path are interned
250 * (pool-owned) — NOT freed here; the pool frees them once in cbm_gbuf_free. */
251static void free_node_strings(cbm_gbuf_node_t *n) {
252 free(n->name);
253 free(n->qualified_name);
254 free(n->properties_json);
255}
256
257/* Free a single edge's owned strings. type is interned (pool-owned) — NOT
258 * freed here; the pool frees it once in cbm_gbuf_free. */

Callers 1

cbm_gbuf_freeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected