From 8e9ef2a384d0748d145a688fa21806147c74c69d Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Thu, 6 Jul 2023 09:01:34 +0000 Subject: [PATCH] fix mem leak --- source/libs/stream/src/streamBackendRocksdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libs/stream/src/streamBackendRocksdb.c b/source/libs/stream/src/streamBackendRocksdb.c index a29ac67cfe..99bcfd744f 100644 --- a/source/libs/stream/src/streamBackendRocksdb.c +++ b/source/libs/stream/src/streamBackendRocksdb.c @@ -398,6 +398,7 @@ int32_t delObsoleteCheckpoint(void* arg, const char* path) { taosRemoveDir(tbuf); } } + taosArrayDestroy(checkpointDel); return 0; } int32_t streamBackendDoCheckpoint(void* arg, const char* path) {