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