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

Function node_fields_free

src/cypher/cypher.c:2535–2545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2533}
2534
2535static void node_fields_free(cbm_node_t *n) {
2536 if (!n) {
2537 return;
2538 }
2539 safe_str_free(&n->project);
2540 safe_str_free(&n->label);
2541 safe_str_free(&n->name);
2542 safe_str_free(&n->qualified_name);
2543 safe_str_free(&n->file_path);
2544 safe_str_free(&n->properties_json);
2545}
2546
2547/* Deep copy an edge (binding owns the strings) */
2548static void edge_deep_copy(cbm_edge_t *dst, const cbm_edge_t *src) {

Callers 9

binding_freeFunction · 0.85
binding_setFunction · 0.85
binding_take_nodeFunction · 0.85
scan_pattern_nodesFunction · 0.85
process_edgesFunction · 0.85
with_agg_freeFunction · 0.85
start_source_nextFunction · 0.85
start_nodes_freeFunction · 0.85

Calls 1

safe_str_freeFunction · 0.85

Tested by

no test coverage detected