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

Function func_item_fields_free

src/cypher/cypher.c:888–895  ·  view source on GitHub ↗

Free the fields of a partially-parsed multi-arg function item. */

Source from the content-addressed store, hash-verified

886
887/* Free the fields of a partially-parsed multi-arg function item. */
888static void func_item_fields_free(cbm_return_item_t *item) {
889 safe_str_free(&item->variable);
890 safe_str_free(&item->property);
891 safe_str_free(&item->func);
892 func_args_free(item->args, item->arg_count);
893 item->args = NULL;
894 item->arg_count = 0;
895}
896
897/* Free the function-call fields of a WHERE condition (#874). */
898static void cond_func_fields_free(cbm_condition_t *c) {

Callers 1

parse_condition_lhsFunction · 0.85

Calls 2

safe_str_freeFunction · 0.85
func_args_freeFunction · 0.85

Tested by

no test coverage detected