fix mem leak

This commit is contained in:
yihaoDeng 2023-07-14 10:20:37 +00:00
parent ed931c1100
commit 3020e27114
1 changed files with 2 additions and 0 deletions

View File

@ -431,6 +431,8 @@ int64_t streamGetLatestCheckpointId(SStreamMeta* pMeta) {
tDecoderClear(&decoder); tDecoderClear(&decoder);
chkpId = TMAX(chkpId, pTask->chkInfo.checkpointId); chkpId = TMAX(chkpId, pTask->chkInfo.checkpointId);
taosMemoryFree(pTask); // fix mem leak later
} }
_err: _err: