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

Function dynbuf_free

internal/cbm/sqlite_writer.c:356–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356static void dynbuf_free(DynBuf *b) {
357 if (b->heap) {
358 free(b->data);
359 }
360 b->data = NULL;
361 b->len = b->cap = 0;
362 b->heap = false;
363}
364
365// --- Record builder ---
366// Builds a SQLite record: header (header_len varint + serial types) + body (values)

Callers 1

rec_freeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected