fix: coverity issues

CID: 400186
This commit is contained in:
Ganlin Zhao 2022-10-11 11:29:18 +08:00
parent c58ed31ad6
commit b2f19def37
1 changed files with 2 additions and 2 deletions

View File

@ -411,7 +411,7 @@ _exit:
int32_t tTSRowClone(const STSRow2 *pRow, STSRow2 **ppRow) {
int32_t code = 0;
int32_t rLen;
int32_t rLen = 0;
TSROW_LEN(pRow, rLen);
(*ppRow) = (STSRow2 *)taosMemoryMalloc(rLen);