fix(stream): fix memory leak.

This commit is contained in:
Haojun Liao 2024-07-08 14:51:08 +08:00
parent 6e15c16cf7
commit 0cbf88f021
1 changed files with 1 additions and 0 deletions

View File

@ -2763,6 +2763,7 @@ int32_t mndProcessConsensusInTmr(SRpcMsg *pMsg) {
taosArrayDestroy(pNodeSnapshot);
if (!allReady) {
mWarn("not all vnodes are ready, end to process the consensus-checkpointId in tmr process");
taosArrayDestroy(pStreamList);
return 0;
}