fix valgrind memleak

This commit is contained in:
dapan1121 2022-04-18 11:25:39 +08:00
parent 9ba91dbafa
commit 9de53b0019
1 changed files with 3 additions and 0 deletions

View File

@ -1470,6 +1470,9 @@ void qWorkerDestroy(void **qWorkerMgmt) {
//TODO FREE ALL
taosHashCleanup(mgmt->ctxHash);
taosHashCleanup(mgmt->schHash);
taosMemoryFreeClear(*qWorkerMgmt);
}