提交 ffd901fa 编写于 作者: G Ganlin Zhao

fix mem leak

上级 4a3c8924
......@@ -1649,6 +1649,7 @@ int32_t percentileFunction(SqlFunctionCtx* pCtx) {
numOfElems += 1;
int32_t code = tMemBucketPut(pInfo->pMemBucket, data, 1);
if (code != TSDB_CODE_SUCCESS) {
tMemBucketDestroy(pInfo->pMemBucket);
return code;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册