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

Function rb_free

src/cypher/cypher.c:3180–3192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3178}
3179
3180static void rb_free(result_builder_t *rb) {
3181 for (int i = 0; i < rb->row_count; i++) {
3182 for (int c = 0; c < rb->col_count; c++) {
3183 safe_str_free(&rb->rows[i][c]);
3184 }
3185 free(rb->rows[i]);
3186 }
3187 free(rb->rows);
3188 for (int i = 0; i < rb->col_count; i++) {
3189 safe_str_free(&rb->columns[i]);
3190 }
3191 free(rb->columns);
3192}
3193
3194/* ── Get projection value for a binding + return item ─────────── */
3195

Callers 1

cbm_cypher_executeFunction · 0.85

Calls 1

safe_str_freeFunction · 0.85

Tested by

no test coverage detected