提交 3020e271 编写于 作者: dengyihao's avatar dengyihao

fix mem leak

上级 ed931c11
...@@ -431,6 +431,8 @@ int64_t streamGetLatestCheckpointId(SStreamMeta* pMeta) { ...@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册