Skip to content

Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.

fix(test): release the node retrieved per USAGE edge in the Chialisp contract

Martin Vogel82c4067f7959
diff --git a/tests/test_lang_contract.c b/tests/test_lang_contract.c
index 2c2441767..5a32bcda0 100644
--- a/tests/test_lang_contract.c
+++ b/tests/test_lang_contract.c
@@ -737,6 +737,7 @@ TEST(contract_chialisp_constant_resolves_across_files) {
if (src.file_path && strstr(src.file_path, "puzzle.clsp")) {
cross_file++;
}
+ cbm_node_free_fields(&src);
}
cbm_store_free_edges(edges, nedges);
cbm_store_free_nodes(consts, nconst);