fix(stream): fix memory leak.

This commit is contained in:
Haojun Liao 2023-11-22 18:28:38 +08:00
parent 9988720a1e
commit a2a68ce256
1 changed files with 2 additions and 0 deletions

View File

@ -168,6 +168,8 @@ void mndCleanupStream(SMnode *pMnode) {
taosArrayDestroy(execInfo.pTaskList); taosArrayDestroy(execInfo.pTaskList);
taosHashCleanup(execInfo.pTaskMap); taosHashCleanup(execInfo.pTaskMap);
taosThreadMutexDestroy(&execInfo.lock); taosThreadMutexDestroy(&execInfo.lock);
taosHashCleanup(execInfo.transMgmt.pDBTrans);
taosHashCleanup(execInfo.transMgmt.pWaitingList);
mDebug("mnd stream exec info cleanup"); mDebug("mnd stream exec info cleanup");
} }