fix mem problem
This commit is contained in:
parent
f5c8c8f7c5
commit
cbb4e83fc4
|
@ -8400,6 +8400,7 @@ void tFreeSMCreateStbRsp(SMCreateStbRsp *pRsp) {
|
||||||
|
|
||||||
if (pRsp->pMeta) {
|
if (pRsp->pMeta) {
|
||||||
taosMemoryFree(pRsp->pMeta->pSchemas);
|
taosMemoryFree(pRsp->pMeta->pSchemas);
|
||||||
|
taosMemoryFree(pRsp->pMeta->pSchemaExt);
|
||||||
taosMemoryFree(pRsp->pMeta);
|
taosMemoryFree(pRsp->pMeta);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,7 @@ int metaGetTableEntryByVersion(SMetaReader *pReader, int64_t version, tb_uid_t u
|
||||||
if (metaDecodeEntry(&pReader->coder, &pReader->me) < 0) {
|
if (metaDecodeEntry(&pReader->coder, &pReader->me) < 0) {
|
||||||
goto _err;
|
goto _err;
|
||||||
}
|
}
|
||||||
taosMemoryFreeClear(pReader->me.colCmpr.pColCmpr);
|
// taosMemoryFreeClear(pReader->me.colCmpr.pColCmpr);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue