From 98fd89a56676f7af77df3f06d9d433786a85adcc Mon Sep 17 00:00:00 2001 From: haojun Liao Date: Sat, 30 Jan 2021 22:54:25 +0800 Subject: [PATCH] [TD-2885]: fix memory leak. --- src/cq/src/cqMain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cq/src/cqMain.c b/src/cq/src/cqMain.c index a5de27d7fc..35384d27b7 100644 --- a/src/cq/src/cqMain.c +++ b/src/cq/src/cqMain.c @@ -217,6 +217,8 @@ void cqClose(void *handle) { taosRemoveRef(cqObjRef, rid); } + + tfree(pContext); } void cqStart(void *handle) { -- GitLab