dtcm: Coverity 89621
This commit is contained in:
parent
160728d895
commit
48a27fa64d
|
|
@ -651,6 +651,7 @@ _DtCmsTruncateFile(char *calendar, int size)
|
|||
if(-1 == ftruncate(f, size)) {
|
||||
perror(strerror(errno));
|
||||
}
|
||||
close(f);
|
||||
}
|
||||
|
||||
free(log);
|
||||
|
|
|
|||
Loading…
Reference in New Issue