diff --git a/source/dnode/mnode/impl/src/mndStream.c b/source/dnode/mnode/impl/src/mndStream.c index 2996863e97..9bcded0c04 100644 --- a/source/dnode/mnode/impl/src/mndStream.c +++ b/source/dnode/mnode/impl/src/mndStream.c @@ -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");