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

Function func_args_free

src/cypher/cypher.c:878–885  ·  view source on GitHub ↗

Free a multi-arg function argument array. */

Source from the content-addressed store, hash-verified

876
877/* Free a multi-arg function argument array. */
878static void func_args_free(cbm_func_arg_t *args, int count) {
879 for (int i = 0; i < count; i++) {
880 safe_str_free(&args[i].variable);
881 safe_str_free(&args[i].property);
882 safe_str_free(&args[i].literal);
883 }
884 free(args);
885}
886
887/* Free the fields of a partially-parsed multi-arg function item. */
888static void func_item_fields_free(cbm_return_item_t *item) {

Callers 3

func_item_fields_freeFunction · 0.85
cond_func_fields_freeFunction · 0.85
free_whereFunction · 0.85

Calls 1

safe_str_freeFunction · 0.85

Tested by

no test coverage detected