mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm: Coverity 89621
This commit is contained in:
parent
160728d895
commit
48a27fa64d
1 changed files with 1 additions and 0 deletions
|
@ -651,6 +651,7 @@ _DtCmsTruncateFile(char *calendar, int size)
|
|||
if(-1 == ftruncate(f, size)) {
|
||||
perror(strerror(errno));
|
||||
}
|
||||
close(f);
|
||||
}
|
||||
|
||||
free(log);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue