fix(stream): fix memory leak.

This commit is contained in:
Haojun Liao 2023-09-01 09:59:56 +08:00
parent bce46f1be8
commit 3765fbbba2
1 changed files with 1 additions and 0 deletions

View File

@ -2224,6 +2224,7 @@ static int32_t mndProcessNodeCheckReq(SRpcMsg *pMsg) {
} }
} else { } else {
mDebug("no update found in nodeList"); mDebug("no update found in nodeList");
taosArrayDestroy(pNodeSnapshot);
} }
taosArrayDestroy(changeInfo.pUpdateNodeList); taosArrayDestroy(changeInfo.pUpdateNodeList);