diff --git a/source/libs/transport/src/transCli.c b/source/libs/transport/src/transCli.c index e1df181329036c797c63803144fc07b95523bf00..5380cb04816075773b08028faaa5dc1d3949df18 100644 --- a/source/libs/transport/src/transCli.c +++ b/source/libs/transport/src/transCli.c @@ -1381,6 +1381,7 @@ int transReleaseCliHandle(void* handle) { tGDebug("send release request at thread:%08" PRId64 "", pThrd->pid); if (0 != transAsyncSend(pThrd->asyncPool, &cmsg->q)) { + taosMemoryFree(cmsg); return -1; } return 0;