提交 e9d3198e 编写于 作者: L liuyao

mem leak

上级 7c23630f
...@@ -175,7 +175,7 @@ void tFreeStreamObj(SStreamObj *pStream) { ...@@ -175,7 +175,7 @@ void tFreeStreamObj(SStreamObj *pStream) {
taosMemoryFree(pStream->ast); taosMemoryFree(pStream->ast);
taosMemoryFree(pStream->physicalPlan); taosMemoryFree(pStream->physicalPlan);
if (pStream->outputSchema.nCols) { if (pStream->outputSchema.nCols || pStream->outputSchema.pSchema) {
taosMemoryFree(pStream->outputSchema.pSchema); taosMemoryFree(pStream->outputSchema.pSchema);
} }
......
...@@ -83,6 +83,7 @@ int32_t tqStreamTasksStatusCheck(STQ* pTq) { ...@@ -83,6 +83,7 @@ int32_t tqStreamTasksStatusCheck(STQ* pTq) {
streamTaskCheckDownstreamTasks(pTask); streamTaskCheckDownstreamTasks(pTask);
streamMetaReleaseTask(pMeta, pTask); streamMetaReleaseTask(pMeta, pTask);
} }
taosArrayDestroy(pTaskList);
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册