fix(stream): fix memory leak.

This commit is contained in:
Haojun Liao 2023-08-21 11:50:53 +08:00
parent 99024e9d78
commit fbd67ce977
1 changed files with 1 additions and 0 deletions

View File

@ -1146,6 +1146,7 @@ static int32_t mndProcessStreamDoCheckpoint(SRpcMsg *pReq) {
bool nodeUpdated = (taosArrayGetSize(changeInfo.pUpdateNodeList) > 0);
taosArrayDestroy(changeInfo.pUpdateNodeList);
taosHashCleanup(changeInfo.pDBMap);
taosArrayDestroy(pNodeSnapshot);
if (nodeUpdated) {
mDebug("stream task not ready due to node update, not generate checkpoint");