MCPcopy Create free account
hub / github.com/RedisGears/RedisGears / PythonSessionRequirements_Free

Function PythonSessionRequirements_Free

plugins/python/redisgears_python.c:433–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431}
432
433static void PythonSessionRequirements_Free(FlatExecutionPlan* fep, void* arg){
434 PythonRequirementCtx** reqs = arg;
435 for(size_t i = 0 ; i < array_len(reqs) ; ++i){
436 PythonRequirementCtx_Free(reqs[i]);
437 }
438 array_free(reqs);
439}
440
441static PythonRequirementCtx* PythonRequirementCtx_ShallowCopy(PythonRequirementCtx* req){
442 ++req->refCount;

Callers

nothing calls this directly

Calls 3

array_lenFunction · 0.85
array_freeFunction · 0.85

Tested by

no test coverage detected