refactor: do some internal refactor.

This commit is contained in:
Haojun Liao 2025-02-24 13:53:28 +08:00
parent 4d21d5e055
commit 91271f3fa4
1 changed files with 0 additions and 6 deletions

View File

@ -1330,8 +1330,6 @@ static int32_t mndProcessStreamCheckpoint(SRpcMsg *pReq) {
int32_t size = taosArrayGetSize(pList); int32_t size = taosArrayGetSize(pList);
if (size == 0) { if (size == 0) {
taosArrayDestroy(pList); taosArrayDestroy(pList);
taosArrayDestroy(pLongChkpts);
return code; return code;
} }
@ -1344,8 +1342,6 @@ static int32_t mndProcessStreamCheckpoint(SRpcMsg *pReq) {
"checkpoint trans are not allowed, wait for 30s", "checkpoint trans are not allowed, wait for 30s",
numOfQual, tsStreamCheckpointInterval, numOfCheckpointTrans, tsMaxConcurrentCheckpoint); numOfQual, tsStreamCheckpointInterval, numOfCheckpointTrans, tsMaxConcurrentCheckpoint);
taosArrayDestroy(pList); taosArrayDestroy(pList);
taosArrayDestroy(pLongChkpts);
return code; return code;
} }
@ -1385,8 +1381,6 @@ static int32_t mndProcessStreamCheckpoint(SRpcMsg *pReq) {
} }
taosArrayDestroy(pList); taosArrayDestroy(pList);
taosArrayDestroy(pLongChkpts);
return code; return code;
} }