fix mem problem

This commit is contained in:
yihaoDeng 2024-03-23 12:12:39 +00:00
parent f5c8c8f7c5
commit cbb4e83fc4
2 changed files with 2 additions and 1 deletions

View File

@ -8400,6 +8400,7 @@ void tFreeSMCreateStbRsp(SMCreateStbRsp *pRsp) {
if (pRsp->pMeta) {
taosMemoryFree(pRsp->pMeta->pSchemas);
taosMemoryFree(pRsp->pMeta->pSchemaExt);
taosMemoryFree(pRsp->pMeta);
}
}

View File

@ -63,7 +63,7 @@ int metaGetTableEntryByVersion(SMetaReader *pReader, int64_t version, tb_uid_t u
if (metaDecodeEntry(&pReader->coder, &pReader->me) < 0) {
goto _err;
}
taosMemoryFreeClear(pReader->me.colCmpr.pColCmpr);
// taosMemoryFreeClear(pReader->me.colCmpr.pColCmpr);
return 0;