This commit is contained in:
liuyao 2023-06-25 10:57:10 +08:00
parent 7c23630fe4
commit e9d3198e05
2 changed files with 2 additions and 1 deletions

View File

@ -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);
} }

View File

@ -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;
} }