fix: mem leak
This commit is contained in:
parent
de801080e1
commit
2611eef0e2
|
@ -56,7 +56,7 @@ typedef struct SExprNode {
|
|||
ENodeType type;
|
||||
SDataType resType;
|
||||
char aliasName[TSDB_COL_NAME_LEN + TSDB_COL_NAME_EXLEN];
|
||||
char userAlias[TSDB_COL_NAME_LEN];
|
||||
char userAlias[TSDB_COL_NAME_LEN + TSDB_COL_NAME_EXLEN];
|
||||
SArray* pAssociation;
|
||||
bool asAlias;
|
||||
bool asParam;
|
||||
|
|
|
@ -2162,6 +2162,8 @@ _end:
|
|||
taosArrayDestroyP(pValCtxArray, deleteSubsidiareCtx);
|
||||
taosMemoryFreeClear(pValCtx);
|
||||
qError("%s failed at line %d since %s", __func__, lino, tstrerror(code));
|
||||
} else {
|
||||
taosArrayDestroy(pValCtxArray);
|
||||
}
|
||||
return code;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue