From 43f191511de555244e33c092c20f9f62a16c3ad8 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Thu, 8 Aug 2024 13:41:35 +0800 Subject: [PATCH] fix mem leak --- source/libs/transport/src/transCli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/transport/src/transCli.c b/source/libs/transport/src/transCli.c index dc0af79676..02ff91e073 100644 --- a/source/libs/transport/src/transCli.c +++ b/source/libs/transport/src/transCli.c @@ -2228,7 +2228,7 @@ static FORCE_INLINE void destroyCmsgAndAhandle(void* param) { } if (pMsg->msg.info.handle !=0) { - transReleaseExHandle(transGetRefMgt(), (int64_t)pMsg->msg.info.handle); + transRemoveExHandle(transGetRefMgt(), (int64_t)pMsg->msg.info.handle); } transDestroyConnCtx(pMsg->ctx);