From ae7d5c79e5ef9917c11c6a13709f5816512535eb Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Mon, 12 Jun 2023 02:24:49 +0000 Subject: [PATCH] fix invald read/write --- source/libs/stream/src/streamBackendRocksdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/stream/src/streamBackendRocksdb.c b/source/libs/stream/src/streamBackendRocksdb.c index bafc8057f1..7a50754e6b 100644 --- a/source/libs/stream/src/streamBackendRocksdb.c +++ b/source/libs/stream/src/streamBackendRocksdb.c @@ -209,8 +209,8 @@ int32_t streamBackendDoCheckpoint(int64_t backendRid, const char* path) { } rocksdb_checkpoint_create(cp, path, 64 << 20, &err); if (err != NULL) { - taosMemoryFree(err); qError("stream backend:%p failed to do checkpoint at:%s, reason:%s", pHandle, path, err); + taosMemoryFree(err); } else { code = 0; qDebug("stream backend:%p end to do checkpoint at:%s, time cost:%" PRId64 "ms", pHandle, path,