fix: mem leak

This commit is contained in:
Liu Jicong 2023-02-02 09:42:06 +08:00
parent 461dbe752d
commit 1e17f1d482
1 changed files with 0 additions and 3 deletions

View File

@ -1891,9 +1891,6 @@ int32_t tmq_consumer_close(tmq_t* tmq) {
} }
tmq_list_destroy(lst); tmq_list_destroy(lst);
/*return rsp;*/
return 0;
} }
taosRemoveRef(tmqMgmt.rsetId, tmq->refId); taosRemoveRef(tmqMgmt.rsetId, tmq->refId);
return 0; return 0;