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

Function cbm_sqlite_free

internal/cbm/cbm.c:763–769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761 return block;
762}
763static void cbm_sqlite_free(void *p) {
764 if (p) {
765 cbm_mem_class_remove_external(CBM_MEM_CLASS_STORE, mi_usable_size(p));
766 BOUND_FREE(p);
767 }
768 mi_free(p);
769}
770static void *cbm_sqlite_realloc(void *p, int n) {
771 size_t old_size = p ? mi_usable_size(p) : 0;
772 mi_heap_t *heap = sqlite_heap();

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected