提交 12986ff5 编写于 作者: H Haojun Liao

fix(stream): fix memory leaks.

上级 b6eb739a
......@@ -415,6 +415,7 @@ static int32_t streamTransferStateToStreamTask(SStreamTask* pTask) {
// free it and remove it from disk meta-store
streamMetaUnregisterTask(pMeta, pTask->id.taskId);
streamMetaRemoveTask(pMeta, taskId);
streamMetaReleaseTask(pMeta, pTask);
// save to disk
taosWLockLatch(&pMeta->lock);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册