fix: free ScalarParam
This commit is contained in:
parent
7a28dffa34
commit
ef5c1b28f9
|
@ -74,15 +74,17 @@ int32_t sclConvertValueToSclParam(SValueNode *pValueNode, SScalarParam *out, int
|
|||
|
||||
code = colDataSetVal(in.columnData, 0, nodesGetValueFromNode(pValueNode), false);
|
||||
if (code != TSDB_CODE_SUCCESS) {
|
||||
return code;
|
||||
goto _exit;
|
||||
}
|
||||
|
||||
code = colInfoDataEnsureCapacity(out->columnData, 1, true);
|
||||
if (code != TSDB_CODE_SUCCESS) {
|
||||
return code;
|
||||
goto _exit;
|
||||
}
|
||||
|
||||
code = vectorConvertSingleColImpl(&in, out, overflow, -1, -1);
|
||||
|
||||
_exit:
|
||||
sclFreeParam(&in);
|
||||
|
||||
return code;
|
||||
|
|
Loading…
Reference in New Issue