fix(stream): fix memory leak.

This commit is contained in:
Haojun Liao 2023-11-22 18:18:43 +08:00
parent b35c971278
commit d88b32e93d
1 changed files with 1 additions and 0 deletions

View File

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