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

Function rb_free

src/cypher/cypher.c:3512–3524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3510}
3511
3512static void rb_free(result_builder_t *rb) {
3513 for (int i = 0; i < rb->row_count; i++) {
3514 for (int c = 0; c < rb->col_count; c++) {
3515 safe_str_free(&rb->rows[i][c]);
3516 }
3517 free(rb->rows[i]);
3518 }
3519 free(rb->rows);
3520 for (int i = 0; i < rb->col_count; i++) {
3521 safe_str_free(&rb->columns[i]);
3522 }
3523 free(rb->columns);
3524}
3525
3526/* ── Get projection value for a binding + return item ─────────── */
3527

Callers 1

cbm_cypher_executeFunction · 0.85

Calls 1

safe_str_freeFunction · 0.85

Tested by

no test coverage detected