Merge pull request #4259 from taosdata/hotfix/TD-2121

[TD-2121]<hotfix>: fix coredump when commit failed
This commit is contained in:
Shengliang Guan 2020-11-17 14:18:11 +08:00 committed by GitHub
commit a4e576b886
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
}