[TD-225]fix memory leak. #4914
This commit is contained in:
parent
7ee01d6d5e
commit
f56eb0d446
|
@ -269,8 +269,9 @@ void arithmeticTreeTraverse(tExprNode *pExprs, int32_t numOfRows, char *pOutput,
|
|||
}
|
||||
}
|
||||
|
||||
free(pLeftOutput);
|
||||
free(pRightOutput);
|
||||
tfree(pdata);
|
||||
tfree(pLeftOutput);
|
||||
tfree(pRightOutput);
|
||||
}
|
||||
|
||||
static void exprTreeToBinaryImpl(SBufferWriter* bw, tExprNode* expr) {
|
||||
|
|
Loading…
Reference in New Issue