fix(stream): fix memory leak.
This commit is contained in:
parent
6e15c16cf7
commit
0cbf88f021
|
@ -2763,6 +2763,7 @@ int32_t mndProcessConsensusInTmr(SRpcMsg *pMsg) {
|
||||||
taosArrayDestroy(pNodeSnapshot);
|
taosArrayDestroy(pNodeSnapshot);
|
||||||
if (!allReady) {
|
if (!allReady) {
|
||||||
mWarn("not all vnodes are ready, end to process the consensus-checkpointId in tmr process");
|
mWarn("not all vnodes are ready, end to process the consensus-checkpointId in tmr process");
|
||||||
|
taosArrayDestroy(pStreamList);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue