Revert "fix: coverity issues"

This reverts commit aa4daf1770.
This commit is contained in:
Ganlin Zhao 2022-10-25 09:39:17 +08:00
parent c04ade7867
commit caa88bc54d
1 changed files with 0 additions and 1 deletions

View File

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