other: merge main.
This commit is contained in:
parent
10692fde5e
commit
6932c59510
|
@ -80,7 +80,9 @@ static int32_t streamTaskExecImpl(SStreamTask* pTask, SStreamQueueItem* pItem, i
|
|||
SArray* pRes = NULL;
|
||||
|
||||
while (1) {
|
||||
pRes = taosArrayInit(4, sizeof(SSDataBlock));
|
||||
if (pRes == NULL) {
|
||||
pRes = taosArrayInit(4, sizeof(SSDataBlock));
|
||||
}
|
||||
|
||||
if (streamTaskShouldStop(&pTask->status)) {
|
||||
taosArrayDestroy(pRes); // memory leak
|
||||
|
|
Loading…
Reference in New Issue