From 707ad8f397f2e8e2e4de6d9ba5722ed61044f06e Mon Sep 17 00:00:00 2001 From: kailixu Date: Thu, 12 Jan 2023 21:20:53 +0800 Subject: [PATCH] fix: dismiss double free --- source/dnode/mnode/impl/src/mndSma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/dnode/mnode/impl/src/mndSma.c b/source/dnode/mnode/impl/src/mndSma.c index bc806aa5d0..d7205e6497 100644 --- a/source/dnode/mnode/impl/src/mndSma.c +++ b/source/dnode/mnode/impl/src/mndSma.c @@ -480,7 +480,6 @@ static int32_t mndSetCreateSmaVgroupRedoActions(SMnode *pMnode, STrans *pTrans, if (mndTransAppendRedoAction(pTrans, &action) != 0) { taosMemoryFreeClear(pSmaReq); - taosMemoryFree(pReq); return -1; }