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

Function node_fields_free

src/cypher/cypher.c:2455–2465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2453}
2454
2455static void node_fields_free(cbm_node_t *n) {
2456 if (!n) {
2457 return;
2458 }
2459 safe_str_free(&n->project);
2460 safe_str_free(&n->label);
2461 safe_str_free(&n->name);
2462 safe_str_free(&n->qualified_name);
2463 safe_str_free(&n->file_path);
2464 safe_str_free(&n->properties_json);
2465}
2466
2467/* Deep copy an edge (binding owns the strings) */
2468static void edge_deep_copy(cbm_edge_t *dst, const cbm_edge_t *src) {

Callers 6

node_propFunction · 0.85
binding_freeFunction · 0.85
binding_setFunction · 0.85
scan_pattern_nodesFunction · 0.85
process_edgesFunction · 0.85

Calls 1

safe_str_freeFunction · 0.85

Tested by

no test coverage detected