fix: coverity issues

CID: 399914
This commit is contained in:
Ganlin Zhao 2022-10-24 14:16:17 +08:00
parent 5728685772
commit aa4daf1770
1 changed files with 1 additions and 0 deletions

View File

@ -5954,6 +5954,7 @@ int32_t tDecodeSMqDataRsp(SDecoder *pDecoder, SMqDataRsp *pRsp) {
if (pSW == NULL) return -1;
if (tDecodeSSchemaWrapper(pDecoder, pSW) < 0) return -1;
taosArrayPush(pRsp->blockSchema, &pSW);
taosMemoryFree(pSW);
}
if (pRsp->withTbName) {