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

Function free_remap_entry

src/graph_buffer/graph_buffer.c:2028–2032  ·  view source on GitHub ↗

Free remap hash table entries (key = heap string, value = heap int64_t*) */

Source from the content-addressed store, hash-verified

2026
2027/* Free remap hash table entries (key = heap string, value = heap int64_t*) */
2028static void free_remap_entry(const char *key, void *val, void *ud) {
2029 (void)ud;
2030 cbm_free(CBM_MEM_CLASS_GBUF_INDEX, (void *)key);
2031 cbm_free(CBM_MEM_CLASS_GBUF_INDEX, val);
2032}
2033
2034/* Handle QN collision: update dst node fields (src wins), record remap if IDs differ.
2035 * label/file_path are re-interned into dst's pool (sn's pointers belong to src). */

Callers

nothing calls this directly

Calls 1

cbm_freeFunction · 0.85

Tested by

no test coverage detected