dtcm: Coverity 89621

This commit is contained in:
Peter Howkins 2018-07-04 03:51:15 +01:00
parent 160728d895
commit 48a27fa64d
1 changed files with 1 additions and 0 deletions

View File

@ -651,6 +651,7 @@ _DtCmsTruncateFile(char *calendar, int size)
if(-1 == ftruncate(f, size)) {
perror(strerror(errno));
}
close(f);
}
free(log);