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

Function free_node_strings

src/graph_buffer/graph_buffer.c:255–259  ·  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

253/* Free a single node's owned strings. label and file_path are interned
254 * (pool-owned) — NOT freed here; the pool frees them once in cbm_gbuf_free. */
255static void free_node_strings(cbm_gbuf_node_t *n) {
256 free(n->name);
257 free(n->qualified_name);
258 free(n->properties_json);
259}
260
261/* Free a single edge's owned strings. type is interned (pool-owned) — NOT
262 * 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