[TD-2121]<hotfix>: fix coredump when commit failed

This commit is contained in:
Hongze Cheng 2020-11-17 10:50:06 +08:00
parent a5003c23ec
commit db3f4ea12f
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ static int tsdbCommitToFile(STsdbRepo *pRepo, int fid, SCommitIter *iters, SRWHe
_err:
tfree(dataDir);
tsdbCloseHelperFile(pHelper, 1, NULL);
tsdbCloseHelperFile(pHelper, 1, pGroup);
return -1;
}