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

Function rb_free

src/cypher/cypher.c:4106–4118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4104}
4105
4106static void rb_free(result_builder_t *rb) {
4107 for (int i = 0; i < rb->row_count; i++) {
4108 for (int c = 0; c < rb->col_count; c++) {
4109 safe_str_free(&rb->rows[i][c]);
4110 }
4111 free(rb->rows[i]);
4112 }
4113 free(rb->rows);
4114 for (int i = 0; i < rb->col_count; i++) {
4115 safe_str_free(&rb->columns[i]);
4116 }
4117 free(rb->columns);
4118}
4119
4120/* ── Get projection value for a binding + return item ─────────── */
4121

Callers 1

cbm_cypher_executeFunction · 0.85

Calls 1

safe_str_freeFunction · 0.85

Tested by

no test coverage detected