fix operator double free

This commit is contained in:
yihaoDeng 2022-08-12 13:40:24 +08:00
parent bd929582f5
commit d4e11c0620
1 changed files with 1 additions and 2 deletions

View File

@ -4249,8 +4249,7 @@ SOperatorInfo* createOperatorTree(SPhysiNode* pPhyNode, SExecTaskInfo* pTaskInfo
ASSERT(0);
}
taosMemoryFree(ops);
pOptr->resultDataBlockId = pPhyNode->pOutputDataBlockDesc->dataBlockId;
if (pOptr) pOptr->resultDataBlockId = pPhyNode->pOutputDataBlockDesc->dataBlockId;
return pOptr;
}