mem leak
This commit is contained in:
parent
7c23630fe4
commit
e9d3198e05
|
@ -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) {
|
||||||
streamTaskCheckDownstreamTasks(pTask);
|
streamTaskCheckDownstreamTasks(pTask);
|
||||||
streamMetaReleaseTask(pMeta, pTask);
|
streamMetaReleaseTask(pMeta, pTask);
|
||||||
}
|
}
|
||||||
|
taosArrayDestroy(pTaskList);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue