fix(stream):fix memory leak.
This commit is contained in:
parent
0d3d0730d4
commit
89eaf01621
|
@ -314,8 +314,8 @@ int32_t streamMetaInitStartInfo(STaskStartInfo* pStartInfo) {
|
|||
}
|
||||
|
||||
void streamMetaClearStartInfo(STaskStartInfo* pStartInfo) {
|
||||
taosHashClear(pStartInfo->pReadyTaskSet);
|
||||
taosHashClear(pStartInfo->pFailedTaskSet);
|
||||
taosHashCleanup(pStartInfo->pReadyTaskSet);
|
||||
taosHashCleanup(pStartInfo->pFailedTaskSet);
|
||||
pStartInfo->readyTs = 0;
|
||||
pStartInfo->elapsedTime = 0;
|
||||
pStartInfo->startTs = 0;
|
||||
|
|
Loading…
Reference in New Issue