fix mem leak

This commit is contained in:
yihaoDeng 2023-11-09 20:37:08 +08:00
parent 4a99bdc2b0
commit 0669037de0
1 changed files with 2 additions and 0 deletions

View File

@ -499,6 +499,8 @@ void streamMetaCloseImpl(void* arg) {
taosThreadMutexDestroy(&pMeta->backendMutex);
taosCleanUpScheduler(pMeta->qHandle);
bkdMgtDestroy(pMeta->bkdChkptMgt);
pMeta->role = NODE_ROLE_UNINIT;
taosMemoryFree(pMeta);
stDebug("end to close stream meta");