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

Function UpdateCtx_Free

src/ast/ast_shared.c:218–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218void UpdateCtx_Free
219(
220 EntityUpdateEvalCtx *ctx
221) {
222 uint count = array_len(ctx->properties);
223 for(uint i = 0; i < count; i ++) {
224 AR_EXP_Free(ctx->properties[i].exp);
225 }
226
227 array_free(ctx->properties);
228 if(ctx->add_labels != NULL) array_free(ctx->add_labels);
229 if(ctx->remove_labels != NULL) array_free(ctx->remove_labels);
230
231 rm_free(ctx);
232}
233
234static void _collect_aliases_in_path
235(

Callers

nothing calls this directly

Calls 4

array_lenFunction · 0.85
AR_EXP_FreeFunction · 0.85
array_freeFunction · 0.85
rm_freeFunction · 0.85

Tested by

no test coverage detected