[TD-2121]<hotfix>: fix coredump when commit failed
This commit is contained in:
parent
a5003c23ec
commit
db3f4ea12f
|
@ -282,7 +282,7 @@ static int tsdbCommitToFile(STsdbRepo *pRepo, int fid, SCommitIter *iters, SRWHe
|
||||||
|
|
||||||
_err:
|
_err:
|
||||||
tfree(dataDir);
|
tfree(dataDir);
|
||||||
tsdbCloseHelperFile(pHelper, 1, NULL);
|
tsdbCloseHelperFile(pHelper, 1, pGroup);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue