MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / _ParameterFreeCallback

Function _ParameterFreeCallback

src/query_ctx.c:46–50  ·  view source on GitHub ↗

rax callback routine for freeing computed parameter values

Source from the content-addressed store, hash-verified

44
45// rax callback routine for freeing computed parameter values
46static void _ParameterFreeCallback(void *param_val) {
47 SIValue *val = (SIValue*)param_val;
48 SIValue_Free(*val);
49 rm_free(val);
50}
51
52bool QueryCtx_Init(void) {
53 return (pthread_key_create(&_tlsQueryCtxKey, NULL) == 0);

Callers

nothing calls this directly

Calls 2

SIValue_FreeFunction · 0.85
rm_freeFunction · 0.85

Tested by

no test coverage detected