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

Function AR_EXP_Free

src/arithmetic/arithmetic_expression.c:963–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

961}
962
963inline void AR_EXP_Free
964(
965 AR_ExpNode *root
966) {
967 if(AR_EXP_IsOperation(root)) {
968 _AR_EXP_FreeOpInternals(root);
969 } else if(AR_EXP_IsConstant(root)) {
970 SIValue_Free(root->operand.constant);
971 }
972
973 rm_free(root);
974}
975

Callers 15

_FilterTree_Compact_PredFunction · 0.85
FilterTree_FreeFunction · 0.85
Group_FreeFunction · 0.85
PropertyMap_NewFunction · 0.85
UpdateCtx_ClearFunction · 0.85
UpdateCtx_FreeFunction · 0.85
_AST_Extract_ParamsFunction · 0.85
_AR_EXP_FreeOpInternalsFunction · 0.85
ListComprehension_FreeFunction · 0.85
ListReduceCtx_FreeFunction · 0.85
ProcCallFreeFunction · 0.85

Calls 5

AR_EXP_IsOperationFunction · 0.85
_AR_EXP_FreeOpInternalsFunction · 0.85
AR_EXP_IsConstantFunction · 0.85
SIValue_FreeFunction · 0.85
rm_freeFunction · 0.85

Tested by

no test coverage detected