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

Function node_fields_free

src/cypher/cypher.c:2454–2464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2452}
2453
2454static void node_fields_free(cbm_node_t *n) {
2455 if (!n) {
2456 return;
2457 }
2458 safe_str_free(&n->project);
2459 safe_str_free(&n->label);
2460 safe_str_free(&n->name);
2461 safe_str_free(&n->qualified_name);
2462 safe_str_free(&n->file_path);
2463 safe_str_free(&n->properties_json);
2464}
2465
2466/* Deep copy an edge (binding owns the strings) */
2467static 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