fix:[TD-31700] fix memory leak when error occurs in sclInitOperatorParams.

This commit is contained in:
Jing Sima 2024-08-26 16:38:20 +08:00
parent 349d0813a4
commit a3573aae67
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ int32_t sclInitOperatorParams(SScalarParam **pParams, SOperatorNode *node, SScal
return TSDB_CODE_SUCCESS;
_return:
taosMemoryFreeClear(paramList);
sclFreeParamList(paramList, paramNum);
SCL_RET(code);
}