Merge pull request #16437 from taosdata/fix/TD-18662

fix: cleanup memory with streamLoadTasks
This commit is contained in:
Hongze Cheng 2022-08-26 15:49:09 +08:00 committed by GitHub
commit d0b135dcae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -265,6 +265,8 @@ int32_t streamLoadTasks(SStreamMeta* pMeta) {
}
}
tdbFree(pKey);
tdbFree(pVal);
if (tdbTbcClose(pCur) < 0) {
return -1;
}