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

Function free_edge_array

src/ui/layout3d.c:460–469  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458/* ── Helpers ──────────────────────────────────────────────────── */
459
460static void free_edge_array(cbm_edge_t *edges, int count) {
461 if (!edges)
462 return;
463 for (int i = 0; i < count; i++) {
464 free((void *)edges[i].project);
465 free((void *)edges[i].type);
466 free((void *)edges[i].properties_json);
467 }
468 free(edges);
469}
470
471/* ── Node ID → index map (for O(log n) edge filtering) ───────── */
472

Callers 1

cbm_layout_from_nodesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected