From 6b7df77061c39458065b5924e49f09e5aea39570 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Tue, 21 Jan 2025 11:44:13 +0800 Subject: [PATCH] fix:[TD-33556] tmq close elegantly to avoid invalid read in TD-32585 --- source/client/src/clientTmq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/client/src/clientTmq.c b/source/client/src/clientTmq.c index a2c8bfa351..603f8368aa 100644 --- a/source/client/src/clientTmq.c +++ b/source/client/src/clientTmq.c @@ -1616,6 +1616,7 @@ static void tmqMgmtInit(void) { goto END; } + return; END: tmqInitRes = terrno; }