Merge pull request #18198 from taosdata/fix/3.0_bugfix_wxy
fix: memory leak
This commit is contained in:
commit
a68f42f519
|
@ -596,6 +596,7 @@ static int32_t stbSplSplitSessionForStream(SSplitContext* pCxt, SStableSplitInfo
|
|||
int32_t index = 0;
|
||||
int32_t code = stbSplAppendWEnd(pPartWin, &index);
|
||||
if (TSDB_CODE_SUCCESS == code) {
|
||||
nodesDestroyNode(pMergeWin->pTsEnd);
|
||||
pMergeWin->pTsEnd = nodesCloneNode(nodesListGetNode(pPartWin->node.pTargets, index));
|
||||
if (NULL == pMergeWin->pTsEnd) {
|
||||
code = TSDB_CODE_OUT_OF_MEMORY;
|
||||
|
|
Loading…
Reference in New Issue