Merge pull request #21359 from taosdata/fix/liaohj_main
fix(stream): fix memory leak for stream processing.
This commit is contained in:
commit
96fa12e157
|
@ -297,6 +297,7 @@ int32_t tAppendDataToInputQueue(SStreamTask* pTask, SStreamQueueItem* pItem) {
|
|||
if ((pTask->taskLevel == TASK_LEVEL__SOURCE) && total > STREAM_TASK_INPUT_QUEUEU_CAPACITY) {
|
||||
qError("s-task:%s input queue is full, capacity:%d, abort", pTask->id.idStr, STREAM_TASK_INPUT_QUEUEU_CAPACITY);
|
||||
streamDataSubmitDestroy(pSubmitBlock);
|
||||
taosFreeQitem(pSubmitBlock);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue