From 430e62aab666bdb3e04afc1aed9c6650f659157d Mon Sep 17 00:00:00 2001 From: xiao-77 Date: Wed, 8 Jan 2025 14:55:37 +0800 Subject: [PATCH] Fix double free. --- source/dnode/mnode/impl/src/mndConfig.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/dnode/mnode/impl/src/mndConfig.c b/source/dnode/mnode/impl/src/mndConfig.c index 48fc54b6b7..644b327f2c 100644 --- a/source/dnode/mnode/impl/src/mndConfig.c +++ b/source/dnode/mnode/impl/src/mndConfig.c @@ -799,7 +799,6 @@ static void cfgObjArrayCleanUp(SArray *array) { for (int32_t i = 0; i < sz; ++i) { SConfigObj *obj = taosArrayGet(array, i); tFreeSConfigObj(obj); - taosMemoryFree(obj); } taosArrayDestroy(array); }