Merge pull request #27279 from taosdata/fix/create_tb

fix(stream): fix memory leak.
This commit is contained in:
Haojun Liao 2024-08-16 19:23:49 +08:00 committed by GitHub
commit 15ba3e1541
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1051,7 +1051,7 @@ void streamMetaLoadAllTasks(SStreamMeta* pMeta) {
} else {
// todo this should replace the existed object put by replay creating stream task msg from mnode
stError("s-task:0x%x already added into table meta by replaying WAL, need check", pTask->id.taskId);
taosMemoryFree(pTask);
tFreeStreamTask(pTask);
continue;
}