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

Function pb_free

internal/cbm/sqlite_writer.c:469–476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467}
468
469static void pb_free(PageBuilder *pb) {
470 if (pb->leaves) {
471 for (int i = 0; i < pb->leaf_count; i++) {
472 free(pb->leaves[i].sep_cell);
473 }
474 free(pb->leaves);
475 }
476}
477
478// Flush current leaf page to file
479static 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