From bffc70cd5af45c7b26f292ccfc979a5c152e1bd5 Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Wed, 18 Sep 2024 14:21:58 +0800 Subject: [PATCH] fix valid free --- source/libs/transport/src/transCli.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/libs/transport/src/transCli.c b/source/libs/transport/src/transCli.c index e2f214a564..8417c89565 100644 --- a/source/libs/transport/src/transCli.c +++ b/source/libs/transport/src/transCli.c @@ -682,7 +682,8 @@ void cliConnCheckTimoutMsg(SCliConn* conn) { continue; } else { // already notify user - destroyReqWrapper(pReq, pThrd); + destroyReq(pReq); + // destroyReqWrapper(pReq, pThrd); } }