From f18926bf0de14cebefafd9b1313b8d3bfa1abc5d Mon Sep 17 00:00:00 2001 From: dmchen Date: Thu, 12 Sep 2024 01:35:22 +0000 Subject: [PATCH] enh/TD-31977-monitor-qid-fix-case --- source/libs/transport/src/thttp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libs/transport/src/thttp.c b/source/libs/transport/src/thttp.c index 724cc10933..a8c9b14b08 100644 --- a/source/libs/transport/src/thttp.c +++ b/source/libs/transport/src/thttp.c @@ -618,6 +618,7 @@ static void httpHandleReq(SHttpMsg* msg) { cli->chanId = chanId; cli->addr = msg->server; cli->port = msg->port; + if (msg->qid != NULL) taosMemoryFree(msg->qid); taosMemoryFree(msg->uri); taosMemoryFree(msg);