diff --git a/src/cq/src/cqMain.c b/src/cq/src/cqMain.c index cc1628c968afd339440186e689850a46dba4af2b..c2df0d36b272efe96a693c0d3a1b0a57f22fdc7c 100644 --- a/src/cq/src/cqMain.c +++ b/src/cq/src/cqMain.c @@ -227,6 +227,7 @@ void cqClose(void *handle) { taosRemoveRef(cqObjRef, rid); } + freeSCqContext(pContext); }