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

Function op_free_groups

src/pipeline/pass_operator.c:734–743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732}
733
734static void op_free_groups(const char *key, void *value, void *ud) {
735 (void)ud;
736 op_strs_t *dirs = value;
737 for (int i = 0; i < dirs->count; i++) {
738 cbm_free(CBM_MEM_CLASS_OTHER, dirs->items[i]);
739 }
740 cbm_free(CBM_MEM_CLASS_OTHER, dirs->items);
741 cbm_free(CBM_MEM_CLASS_OTHER, dirs);
742 cbm_free(CBM_MEM_CLASS_OTHER, (void *)key);
743}
744
745/* A JSON string property's value (simple, unescaped scalars). */
746static bool op_prop(const char *props, const char *key, char *out, size_t out_sz) {

Callers

nothing calls this directly

Calls 1

cbm_freeFunction · 0.85

Tested by

no test coverage detected