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

Function pb_free

internal/cbm/sqlite_writer.c:480–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480static void pb_free(PageBuilder *pb) {
481 if (pb->leaves) {
482 for (int i = 0; i < pb->leaf_count; i++) {
483 free(pb->leaves[i].sep_cell);
484 }
485 free(pb->leaves);
486 }
487}
488
489// Flush current leaf page to file
490static void pb_flush_leaf(PageBuilder *pb) {

Callers 3

pb_finalize_tableFunction · 0.85
write_index_btreeFunction · 0.85
cbm_writer_finalizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected