From 7db12bb31732817ea6e2920817f0dc6b4856c7fa Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Tue, 11 Apr 2023 14:21:16 +0000 Subject: [PATCH] fix invalid free --- source/libs/stream/src/tstreamFileState.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/stream/src/tstreamFileState.c b/source/libs/stream/src/tstreamFileState.c index 9602f1eb1c..08c8c16079 100644 --- a/source/libs/stream/src/tstreamFileState.c +++ b/source/libs/stream/src/tstreamFileState.c @@ -413,8 +413,8 @@ int32_t recoverSnapshot(SStreamFileState* pFileState) { taosMemoryFree(val); if (ts < pFileState->flushMark) { // forceRemoveCheckPoint(pFileState->pFileStore, i); - } else { break; + } else { } } -- GitLab