stream event window mem leak

This commit is contained in:
54liuyao 2024-03-13 19:44:59 +08:00
parent c13338d965
commit ef32863f07
1 changed files with 1 additions and 0 deletions

View File

@ -327,6 +327,7 @@ int32_t allocSessioncWinBuffByNextPosition(SStreamFileState* pFileState, SStream
}
}
pNewPos = getNewRowPosForWrite(pFileState);
memcpy(pNewPos->pKey, pWinKey, sizeof(SSessionKey));
pNewPos->needFree = true;
pNewPos->beFlushed = true;
}